Project

General

Profile

Dependency check is backwards

Added by Greg Smith almost 7 years ago

Turn on checking dependencies during sort.

Create two PBIs and PBI B "follows" A. You cannot order them in the Product Backlog such that A is a Position number closer to zero.

I think the dependency check is backwards.


Replies (3)

RE: Dependency check is backwards - Added by Greg Smith almost 7 years ago

Greg Smith escribió:

Turn on checking dependencies during sort.

Create two PBIs and PBI B "follows" A. You cannot order them in the Product Backlog such that A is a Position number closer to zero.

I think the dependency check is backwards.

I think the issue is in get_dependencies:
https://git.ociotec.com/redmine/scrum/blob/master/lib/scrum/issue_patch.rb

I haven't confirmed that the issue occurs for blocked, but it does occur for follows relationships. I can't yet tell of the solution is to check PBIs "above" instead of "bellow" (aka "below"), or to change the sense of the Boolean check (switch other and self in the call to would_reschedule near lines 424-426.

RE: Dependency check is backwards - Added by Greg Smith almost 7 years ago

I have switched the second and third clauses in the if / elseif / else clause. We haven't restarted apache yet, so haven't tested quite yet. After changing code in the plugin, is a restart of the web server required?

RE: Dependency check is backwards - Added by Emilio González Montaña almost 7 years ago

Greg Smith escribió:

I have switched the second and third clauses in the if / elseif / else clause. We haven't restarted apache yet, so haven't tested quite yet. After changing code in the plugin, is a restart of the web server required?

Yes you need to restart after any change, for sure if you've configured Redmine in production mode.

    (1-3/3)