Actions
Defect #5219
closedCannot delete a project with subprojects that shares versions
Start date:
2010-03-30
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
If a project has a subproject,
and the subproject has an issue whose "fixed_version" is shared,
the project and the subproject can not be deleted at once.
Processing ProjectsController#destroy (for 127.0.0.1 at 2010-03-30 23:24:57) [POST] Parameters: {"commit"=>"Delete", "confirm"=>"1", "action"=>"destroy", "authenticity_token"=>"s3cPh4RAAGKkzyTkgyW62unKrACnLgS3s40iNwXpcAc=", "id"=>"mytest", "controller"=>"projects"} RuntimeError (Can't delete version): app/models/version.rb:160:in `check_integrity' app/controllers/projects_controller.rb:234:in `destroy' /opt/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' /opt/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' /opt/local/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' /opt/local/lib/ruby/1.8/webrick/server.rb:162:in `start' /opt/local/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' /opt/local/lib/ruby/1.8/webrick/server.rb:95:in `start' /opt/local/lib/ruby/1.8/webrick/server.rb:92:in `each' /opt/local/lib/ruby/1.8/webrick/server.rb:92:in `start' /opt/local/lib/ruby/1.8/webrick/server.rb:23:in `start' /opt/local/lib/ruby/1.8/webrick/server.rb:82:in `start' Rendering rescues/layout (internal_server_error)
Files
Actions