Project

General

Profile

Actions

Defect #25478

closed

Related to "no open issues" shows all issues

Added by Kevin Fischer over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Category:
Issues filter
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

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.


Files

fix-filter-related-to-non-open.diff (2.53 KB) fix-filter-related-to-non-open.diff Kevin Fischer, 2017-03-30 12:08
25478-reproduce-1.png (13 KB) 25478-reproduce-1.png Go MAEDA, 2017-04-03 10:32
25478-reproduce-2.png (11.9 KB) 25478-reproduce-2.png Go MAEDA, 2017-04-03 10:32
25478-reproduce-3.png (12.8 KB) 25478-reproduce-3.png Go MAEDA, 2017-04-03 10:32
25478-reproduce-4.png (8.93 KB) 25478-reproduce-4.png Go MAEDA, 2017-04-03 10:32
Actions #1

Updated by Go MAEDA over 7 years 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.

Actions #2

Updated by Go MAEDA over 7 years 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.

Actions #3

Updated by Marius BÄ‚LTEANU over 7 years 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.

Actions #4

Updated by Jean-Philippe Lang over 7 years 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.

Actions #5

Updated by Jean-Philippe Lang over 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF