Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pb when adding and delete a project to a client #2

Open
pydubreucq opened this issue Mar 14, 2013 · 0 comments
Open

Pb when adding and delete a project to a client #2

pydubreucq opened this issue Mar 14, 2013 · 0 comments

Comments

@pydubreucq
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant