Project

General

Profile

Actions

Defect #5964

closed

Error 500 when adding a subtask

Added by Thibaut Cuvelier over 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
Issues
Target version:
-
Start date:
2010-07-26
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

When I try to add a new subtask to an existing task, I get a 500 error:

Internal error

An error occurred on the page you were trying to access.
If you continue to experience problems please contact your redMine administrator for assistance.

I get redirected to an URL like http://projets.developpez.com/projects/add-libv2/issues/new?issue%5Bparent_issue_id%5D=740 when clicking on the Add button.

ruby 1.8.6 (2009-06-08 patchlevel 369)
Rails 2.3.5
Redmine 1.0.0, downloaded today
MySQL Ver 14.12 Distrib 5.0.51b

The log excerpt:

Processing IssuesController#new [GET]
  Parameters: {"project_id"=>"add-libv2", "action"=>"new", "controller"=>"issues", "issue"=>{"parent_issue_id"=>"387"}}

NoMethodError (undefined method `-' for nil:NilClass):
  app/models/issue.rb:232:in `safe_attributes='
  app/controllers/issues_controller.rb:462:in `build_new_issue_from_params'
  passenger (2.2.3) lib/phusion_passenger/rack/request_handler.rb:91:in `process_request'
  passenger (2.2.3) lib/phusion_passenger/abstract_request_handler.rb:206:in `main_loop'
  passenger (2.2.3) lib/phusion_passenger/railz/application_spawner.rb:376:in `start_request_handler'
  passenger (2.2.3) lib/phusion_passenger/railz/application_spawner.rb:334:in `handle_spawn_application'
  passenger (2.2.3) lib/phusion_passenger/utils.rb:182:in `safe_fork'
  passenger (2.2.3) lib/phusion_passenger/railz/application_spawner.rb:332:in `handle_spawn_application'
  passenger (2.2.3) lib/phusion_passenger/abstract_server.rb:351:in `__send__'
  passenger (2.2.3) lib/phusion_passenger/abstract_server.rb:351:in `main_loop'
  passenger (2.2.3) lib/phusion_passenger/abstract_server.rb:195:in `start_synchronously'
  passenger (2.2.3) lib/phusion_passenger/abstract_server.rb:162:in `start'
  passenger (2.2.3) lib/phusion_passenger/railz/application_spawner.rb:213:in `start'
  passenger (2.2.3) lib/phusion_passenger/spawn_manager.rb:261:in `spawn_rails_application'
  passenger (2.2.3) lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
  passenger (2.2.3) lib/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
  passenger (2.2.3) lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
  passenger (2.2.3) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
  passenger (2.2.3) lib/phusion_passenger/spawn_manager.rb:254:in `spawn_rails_application'
  passenger (2.2.3) lib/phusion_passenger/spawn_manager.rb:153:in `spawn_application'
  passenger (2.2.3) lib/phusion_passenger/spawn_manager.rb:286:in `handle_spawn_application'
  passenger (2.2.3) lib/phusion_passenger/abstract_server.rb:351:in `__send__'
  passenger (2.2.3) lib/phusion_passenger/abstract_server.rb:351:in `main_loop'
  passenger (2.2.3) lib/phusion_passenger/abstract_server.rb:195:in `start_synchronously'

Rendering /.../redmine/public/500.html (500 Internal Server Error)

If you need anything else...

Actions

Also available in: Atom PDF