Git Product home page Git Product logo

cartoque's Introduction

cartoque's People

Contributors

hpirrat avatar jbbarth avatar shadowbq avatar tancrede avatar

Stargazers

 avatar

Watchers

 avatar  avatar

cartoque's Issues

RAILS4.x: Bootstrap included failure

 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

RAILS4.x: Mongoid::Errors::UnknownAttribute

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)>'

rails4.x simple_form errors

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'

Rails4.x: Request Forgery (CORS)

  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'

RAILS4.x: RSPEC3 possible bad syntax (Test::Unit DSL in Spec test?)

  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)>'

RAILS4,x: Devise token api authentication issues

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.