Project

General

Profile

Defect #1200

Error sorting product backlog in Redmine 3.3.0

Added by Matthew Hoener about 8 years ago. Updated about 8 years ago.

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

dependencies-disable.png (27 KB) dependencies-disable.png Bartosz Firyn, 2016-10-07 11:14

Related issues

Is duplicate of Scrum - Defect #1191: NoMethodError (undefined method `all_dependent_issues' for #<Issue:0x007f09168c83d8>)ResolvedActions

Also available in: Atom PDF