Defect #4369

Can't move bugs

Added by Rickard Ã…berg almost 12 years ago. Updated almost 12 years ago.

Status:ClosedStart date:2009-12-09
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Issues
Target version:-
Resolution:Fixed Affected version:

Description

In r3146 I can no longer move bugs. It doesn't matter if I try to move them between projects or just an new bug type (ie bug, feature...).

From the log:

NoMethodError (undefined method `is_closed?' for nil:NilClass):
  app/models/issue.rb:235:in `closed?'
  app/models/issue.rb:209:in `after_save'
  app/models/issue.rb:124:in `move_to'
  app/models/issue.rb:92:in `move_to'
  app/controllers/issues_controller.rb:302:in `move'
  app/controllers/issues_controller.rb:296:in `each'
  app/controllers/issues_controller.rb:296:in `move'
  passenger (2.2.5) lib/phusion_passenger/rack/request_handler.rb:95:in `process_request'
  passenger (2.2.5) lib/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
  passenger (2.2.5) lib/phusion_passenger/railz/application_spawner.rb:378:in `start_request_handler'
  passenger (2.2.5) lib/phusion_passenger/railz/application_spawner.rb:336:in `handle_spawn_application'
  passenger (2.2.5) lib/phusion_passenger/utils.rb:183:in `safe_fork'
  passenger (2.2.5) lib/phusion_passenger/railz/application_spawner.rb:334:in `handle_spawn_application'
  passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:352:in `__send__'
  passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
  passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
  passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:163:in `start'
  passenger (2.2.5) lib/phusion_passenger/railz/application_spawner.rb:213:in `start'
  passenger (2.2.5) lib/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'
  passenger (2.2.5) lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
  passenger (2.2.5) lib/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'
  passenger (2.2.5) lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
  passenger (2.2.5) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
  passenger (2.2.5) lib/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
  passenger (2.2.5) lib/phusion_passenger/spawn_manager.rb:154:in `spawn_application'
  passenger (2.2.5) lib/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
  passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:352:in `__send__'
  passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
  passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'

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

I use ruby 1.8.7 and mysql 14.14

Associated revisions

Revision 3148
Added by Jean-Philippe Lang almost 12 years ago

Fixes that issue copy/move throws an error when status is not changed (#4369).

History

#1 Updated by Jean-Philippe Lang almost 12 years ago

  • Category set to Issues
  • Status changed from New to Closed
  • Resolution set to Fixed

This was broken by r3122. It should be fixed in r3148.

Also available in: Atom PDF