Project

General

Profile

Actions

Defect #8616

closed

Circular relations

Added by Max Prokopiev almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Category:
Issues
Target version:
Start date:
2011-06-15
Due date:
% Done:

100%

Estimated time:
Resolution:
Fixed
Affected version:

Description

I think I found a bug in redmine, correct me if I'm wrong.

3 issues: 1, 2, 3

two cases:
  1. 1 blocked_by 2,3
    2 blocks 1, blocked_by 3
    3 blocks 1,2
  2. 1 blocks 3, blocked_by 2
    2 blocks 1, blocked_by 3
    3 blocks 2, blocked_by 1

In second case we have an obvious circular dependency. 1 blocks 3, 3 block 2 and 2 block 2, so we can't close any ticket, but redmine allows me to create this relations.

First case - there isn't any circular relations. My steps in this case:
  1. create all tickets
  2. create relation 1 blocked_by 2
  3. create relation 2 blocked_by 3
  4. create relation 1 blocked_by 3 => get an error
    BUT
    I'm still allowed to create relation 3 blocks 1, which is equivalent to relation 1 blocked_by 3

ruby 1.8.7 (2010-06-23) patchlevel 299
rails 2.3.11 (using bitnami redmine stack: http://bitnami.org/stack/redmine)

Actions

Also available in: Atom PDF