Git Product home page Git Product logo

chiliproject_companies's People

Contributors

kikito avatar

Watchers

 avatar  avatar

chiliproject_companies's Issues

Pb when adding and delete a project to a client

Hi,
I've problem on the edit compagnies page.
When I link/add a project, I've see this error :

Internal error
An error occurred on the page you were trying to access.
If you continue to experience problems please contact your ChiliProject administrator for  assistance.
If you are the ChiliProject administrator, check your log files for details about the error.
Back

I've this error too when I delete the link.

On my log I have :

Processing CompaniesController#add_projects (for 192.168.27.113 at 2013-03-14 11:09:01) [POST]
Parameters: {"commit"=>"Ajouter", "action"=>"add_projects", "authenticity_token"=>"MNEFSk8r4uPlfkCXit81dQushENwzK6vHU8fX0IXZJ4=", "id"=>"ambremkg", "project_search"=>"", "project_ids"=>["1"], "controller"=>"companies"}

ActionView::TemplateError (undefined method `[]' for nil:NilClass) on line #1 of vendor/plugins/vendor/plugins/chiliproject_companies/app/views/companies/_projects.html.erb:
1: <% if @settings['auto_calculate_projects'] %>
2:   <p>Proyects will be linked based on users. If you want to indicate proyects manually, you may change the plugin configuration</p>
3: <% else %>
4:   <div class="splitcontentleft">

vendor/plugins/vendor/plugins/chiliproject_companies/app/views/companies/_projects.html.erb:1
vendor/plugins/vendor/plugins/chiliproject_companies/app/controllers/companies_controller.rb:86:in `add_projects'
/usr/lib/ruby/1.8/phusion_passenger/rack/request_handler.rb:92:in `process_request'
/usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:418:in `start_request_handler'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:358:in `handle_spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/utils.rb:184:in `safe_fork'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:354:in `handle_spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:163:in `start'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:213:in `start'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:154:in `spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
/usr/lib/phusion_passenger/passenger-spawn-server:61

Rendering /usr/local/share/chiliproject/public/500.html (500 Internal Server Error)

Despite that display error, the project is well connected to the company.

ruby -v
ruby 1.8.7 (2010-08-16 patchlevel 302) [x86_64-linux]

ChiliProject 3.7.0.63976e652

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.