shadowbq / cartoque Goto Github PK
View Code? Open in Web Editor NEWThis project forked from cartoque/cartoque
A simple and free CMDB app written in Ruby on Rails
Home Page: http://cartoque.org/
License: MIT License
This project forked from cartoque/cartoque
A simple and free CMDB app written in Ruby on Rails
Home Page: http://cartoque.org/
License: MIT License
133) Welcome includes stats about softwares
Failure/Error: @import "bootstrap/reset";
ActionView::Template::Error:
File to import not found or unreadable: bootstrap/reset.
Load paths:
/home/shadowbq/sandbox/cartoque/app/assets/javascripts
10) CronjobsController GET /index displays cronjobs if server is set
Failure/Error:
Cronjob.create!(definition_location: "/etc/cron.d/crontask", hierarchy: "/",
frequency: "* * * * *", server_id: server.id.to_s, command: "/bin/ls")
Mongoid::Errors::UnknownAttribute:
Problem:
Attempted to set a value for 'hierarchy' which is not allowed on the model Cronjob.
Summary:
Without including Mongoid::Attributes::Dynamic in your model and the attribute does not already exist in the attributes hash, attempting to call Cronjob#hierarchy= for it is not allowed. This is also triggered by passing the attribute to any method that accepts an attributes hash, and is raised instead of getting a NoMethodError.
Resolution:
You can include Mongoid::Attributes::Dynamic if you expect to be writing values for undefined fields often.
# /usr/local/rvm/gems/ruby-2.2.3/gems/mongoid-4.0.2/lib/mongoid/attributes/processing.rb:96:in `process_attribute'
# /usr/local/rvm/gems/ruby-2.2.3/gems/mongoid-4.0.2/lib/mongoid/attributes/processing.rb:25:in `block in process_attributes'
# /usr/local/rvm/gems/ruby-2.2.3/gems/mongoid-4.0.2/lib/mongoid/attributes/processing.rb:23:in `each_pair'
# /usr/local/rvm/gems/ruby-2.2.3/gems/mongoid-4.0.2/lib/mongoid/attributes/processing.rb:23:in `process_attributes'
# /usr/local/rvm/gems/ruby-2.2.3/gems/mongoid-4.0.2/lib/mongoid/document.rb:110:in `block in initialize'
# /usr/local/rvm/gems/ruby-2.2.3/gems/mongoid-4.0.2/lib/mongoid/threaded/lifecycle.rb:84:in `_building'
# /usr/local/rvm/gems/ruby-2.2.3/gems/mongoid-4.0.2/lib/mongoid/document.rb:104:in `initialize'
# /usr/local/rvm/gems/ruby-2.2.3/gems/mongoid-4.0.2/lib/mongoid/persistable/creatable.rb:179:in `new'
# /usr/local/rvm/gems/ruby-2.2.3/gems/mongoid-4.0.2/lib/mongoid/persistable/creatable.rb:179:in `block in create!'
# /usr/local/rvm/gems/ruby-2.2.3/gems/mongoid-4.0.2/lib/mongoid/threaded/lifecycle.rb:156:in `_creating'
# /usr/local/rvm/gems/ruby-2.2.3/gems/mongoid-4.0.2/lib/mongoid/persistable/creatable.rb:175:in `create!'
# ./spec/controllers/cronjobs_controller_spec.rb:16:in `block (3 levels) in <top (required)>'
123) Softwares GET /softwares/:id/edit shows an software form
Failure/Error:
def input_options(wrapper_options)
options = super
options[:include_blank] = false
options[:prompt] = false
options
ActionView::Template::Error:
wrong number of arguments (0 for 1)
# ./app/inputs/multiselect_input.rb:12:in `input_options'
# ./app/inputs/multiselect_input.rb:8:in `input'
42) SettingsController GET /settings/edit_visibility
Failure/Error: yield
ActionController::InvalidCrossOriginRequest:
Security warning: an embedded <script> tag on another site requested protected JavaScript. If you know what you're doing, go ahead and disable forgery protection on this action to permit cross-origin JavaScript embedding.
# /usr/local/rvm/gems/ruby-2.2.3/gems/actionpack-4.1.14/lib/action_controller/metal/request_forgery_protection.rb:217:in `verify_same_origin_request'
35) ServersController real ServersController gets index
Failure/Error: assert_not_nil assigns(:servers)
NoMethodError:
undefined method `assert_not_nil' for #<RSpec::ExampleGroups::ServersController::RealServersController:0x000000072a3a08>
# /usr/local/rvm/gems/ruby-2.2.3/gems/actionpack-4.1.14/lib/action_dispatch/testing/assertions/routing.rb:171:in `method_missing'
# ./spec/controllers/servers_controller_spec.rb:32:in `block (3 levels) in <top (required)>'
77) Authentication via an API Token GET /servers.csv grants access if authentication token is valid
Failure/Error: expect(page.status_code).to eq(200)
expected: 200
got: 401
(compared using ==)
# ./spec/features/authentication_spec.rb:48:in `block (4 levels) in <top (required)>'
78) Authentication via an API Token GET /servers.csv allows access even if not using csv/xml/json formats (changed with devise)
Failure/Error: yield
ActionController::UnknownFormat:
ActionController::UnknownFormat
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.