This issue has been created
There are 2 updates.
 
 
Release Notes Application / cid:jira-generated-image-avatar-da543d83-1e7f-4050-8e2f-d66f85b1a477 RN-116 Open

A filter value whose comparison operator is preceded by a space is read as a pattern

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-22a78022-99c7-4370-8e54-f9eface8902a Vincent Massol created this issue on 09/Sep/26 09:57
 
Summary: A filter value whose comparison operator is preceded by a space is read as a pattern
Issue Type: cid:jira-generated-image-avatar-da543d83-1e7f-4050-8e2f-d66f85b1a477 Improvement
Affects Versions: 2.6
Assignee: Unassigned
Components: Application
Created: 09/Sep/26 09:57
Priority: cid:jira-generated-image-static-major-3234d637-32fe-4bb7-a42a-1188465ca8be Major
Reporter: Vincent Massol
Description:

The filter values of the getChanges macro, and of the change search behind it, may be prefixed with a comparison operator: versions=">=9.0". The operator is read from the very first characters of the value, so a value written with a space before it is not read as a comparison at all.

versions="8.3%, >=9.0" – which is what a reader typing a list of filters into the custom report form naturally writes – therefore asks for the changes whose version is like the text ">=9.0", which matches no change, and says nothing about it.

Trimming each value before looking for its operator would fix it, and cannot break a filter that works today: a value whose operator is preceded by a space matches nothing as things are.

Found while moving the search to Java (RN-114), where the behaviour was deliberately kept as it was so that the port changed nothing.

 
 

2 updates

 
cid:jira-generated-image-avatar-22a78022-99c7-4370-8e54-f9eface8902a Changes by Vincent Massol on 09/Sep/26 10:00
 
Fix Version: 2.7
Assignee: Vincent Massol