Defect #34375

"is not" operator for Subproject filter incorrectly excludes closed subprojects

Added by Go MAEDA 6 months ago. Updated 5 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Go MAEDA% Done:

0%

Category:Filters
Target version:4.0.8
Resolution:Fixed Affected version:

Description

"is not" operator for Subproject is expected to exclude only given projects, however, it actually excludes closed projects as well.

Suppose the following project tree.

parent(status: active) -- issue15
 +-- child1 (status: closed) -- issue16
 +-- child2 (status: active) -- issue17
 +-- child3 (status: active) -- issue18

When you apply the issues filter "[Subproject] [is not] [child3]" on the "parent", issues from "child1" and "child2" should be displayed but you will see issues only from child2.

Applying issues filter "[Subproject] [is not] [child3]" on the "parent":

[Expected result]
issue15, issue16, issue17

[Actual result]
issue15, issue17

The behavior is clearly inconsistent with the "is" and "any" operator, because the "is" operator is can be used for closed projects and displays its issues, and the "any" operator includes closed projects as well as active projects.

34375-test.patch Magnifier (1.21 KB) Go MAEDA, 2020-12-27 13:56


Related issues

Related to Redmine - Defect #34297: Subprojects issues are not displayed on main project when... Closed

Associated revisions

Revision 20694
Added by Go MAEDA 5 months ago

Make sure that "is not" operator for Subproject filter does not exclude closed subprojects (#34375).

The issue has been fixed in r20693 along with #34297.

Revision 20697
Added by Go MAEDA 5 months ago

Merged r20694 from trunk to 4.1-stable (#34375).

Revision 20698
Added by Go MAEDA 5 months ago

Merged r20694 from trunk to 4.0-stable (#34375).

History

#1 Updated by Go MAEDA 6 months ago

  • Related to Defect #34297: Subprojects issues are not displayed on main project when all subprojects are closed added

#3 Updated by Go MAEDA 5 months ago

This issue has been fixed in r20693. The attached test code makes sure that.

#4 Updated by Go MAEDA 5 months ago

  • Status changed from New to Resolved
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the test code.

#5 Updated by Go MAEDA 5 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF