Defect #1200
Error sorting product backlog in Redmine 3.3.0
Status:
Rejected
Priority:
Normal
Category:
Product backlog
Target version:
-
Source:
Customer
Detected on version:
Blocked:
No
Alone:
Milestones:
Sprint:
Description
Reproducible: always
On the Backlog tab when dragging Issues to a different position in the list, the following error is display in a modal window:
Fail to sort the PBI, check its dependencies. The page will be reloaded.
The following is logged to log/production.log
Started POST "/projects/votersguide-ca/product_backlog/sort" for 104.200.154.42 at 2016-09-27 00:13:50 -0500 Processing by ProductBacklogController#sort as JS Parameters: {"pbi"=>["6", "2", "5", "7", "9", "10", "18", "11", "12", "13", "3", "4", "16", "20", "21"], "project_id"=>"votersguide-ca"} Current user: admin (id=1) Completed 500 Internal Server Error in 58ms (ActiveRecord: 8.5ms) NoMethodError (undefined method `all_dependent_issues' for #<Issue:0x007fa4ea1ea2f8>): plugins/scrum/app/controllers/product_backlog_controller.rb:156:in `block in get_dependencies' plugins/scrum/app/controllers/product_backlog_controller.rb:155:in `each' plugins/scrum/app/controllers/product_backlog_controller.rb:155:in `get_dependencies' plugins/scrum/app/controllers/product_backlog_controller.rb:31:in `block in sort' plugins/scrum/app/controllers/product_backlog_controller.rb:27:in `each' plugins/scrum/app/controllers/product_backlog_controller.rb:27:in `sort' lib/redmine/sudo_mode.rb:63:in `sudo_mode'
Files
Related issues
Updated by Matthew Hoener about 8 years ago
A workaround for this issue is to disable dependency checking by opening plugins/scrum/app/controllers/product_backlog_controller.rb and around line 156 change
dependencies << other_pbi if pbi.all_dependent_issues.include?(other_pbi)
to
dependencies << other_pbi if false
Webserver needs to be restarted after making the change.
Updated by Bartosz Firyn about 8 years ago
- File dependencies-disable.png dependencies-disable.png added
Hi Guys, this is duplicate of #1191. The workaround (without changes in code) is to go to plugin configuration and disable dependencies check on sorting.
Updated by Emilio González Montaña about 8 years ago
- Is duplicate of Defect #1191: NoMethodError (undefined method `all_dependent_issues' for #<Issue:0x007f09168c83d8>) added
Updated by Emilio González Montaña about 8 years ago
- Status changed from New to Rejected
- Target version deleted (
Scrum v0.15.0)