Defect #25478

Related to "no open issues" shows all issues

Added by Kevin Fischer 9 months ago. Updated 8 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Issues filter
Target version:3.2.6
Resolution:Fixed Affected version:3.3.2

Description

When filtering for issues that are related (bi-directional relationship) to "No open issues", all issues and not just the ones related to none or closed issues are shown.

fix-filter-related-to-non-open.diff Magnifier (2.53 KB) Kevin Fischer, 2017-03-30 12:08

25478-reproduce-1.png (13 KB) Go MAEDA, 2017-04-03 10:32

25478-reproduce-2.png (11.9 KB) Go MAEDA, 2017-04-03 10:32

25478-reproduce-3.png (12.8 KB) Go MAEDA, 2017-04-03 10:32

25478-reproduce-4.png (8.93 KB) Go MAEDA, 2017-04-03 10:32

Associated revisions

Revision 16504
Added by Jean-Philippe Lang 9 months ago

Fixed that related to "no open issues" filter shows all issues (#25478).

Patch by Kevin Fischer.

History

#1 Updated by Go MAEDA 9 months ago

I confirmed the problem.

Suppose the following situation. All issues except Issue F have some relations.

"Related to any open issues" is expected to list issues which has "related to" relations open issues. It works fine.

"Related to no open issues" is expected to list issues which don't have "related to" relations to open issues. But actually it lists all issues in the project.

With the proposed patch by Kevin Fischer, "Related to no open issues" works as expected.

#2 Updated by Go MAEDA 9 months ago

  • Target version changed from Candidate for next minor release to 3.2.6

Let's merge this fix to the core. Setting target version to 3.2.6.

#3 Updated by Marius BALTEANU 9 months ago

Go MAEDA, it is the expected behaviour for the filter "Related to no open issues" to return an issue without relations (Issue F from your screenshots)? From my point of view, only "Related to none" should return issues with no relations.

#4 Updated by Jean-Philippe Lang 9 months ago

  • Status changed from Confirmed to Resolved
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

Patch committed, thanks.

Marius BALTEANU wrote:

Go MAEDA, it is the expected behaviour for the filter "Related to no open issues" to return an issue without relations (Issue F from your screenshots)?

Yes that was the expected behaviour. Maybe we would have to add another filter like "related to closed issues only" if it's needed.

#5 Updated by Jean-Philippe Lang 8 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF