Bug 1397026 - Upper/lower cases when creating rules in BRE
Summary: Upper/lower cases when creating rules in BRE
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Bugzilla
Classification: Community
Component: Internal Tools
Version: 4.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified vote
Target Milestone: 4.4
Assignee: Matt Tyson 🤬
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On: 1406294
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-21 12:32 UTC by Romana Cadova
Modified: 2018-12-09 06:29 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-30 01:00:42 UTC


Attachments (Terms of Use)

Description Romana Cadova 2016-11-21 12:32:32 UTC
I just found out that when setting "contains any of the strings" in step 2 when creating a rule in BRE, the bug list finds all bugs no matter upper/lower cases, however, the rule would run only on the bugs where the upper/lower cases matches exactly. Is that the correct behaviour?

I was trying only in partner bz, not sure if the same happens in the prod. bz as I don't want to enable the rules before review.

As an example, see the rule "future_feature"

https://partner-bugzilla.redhat.com/page.cgi?id=ruleengine/details/index.html&rule_name=future_feature

The bug list:
https://partner-bugzilla.redhat.com/buglist.cgi?bug_id=871989%2C917702%2C963674%2C1066833%2C1112368%2C1283134%2C1301760%2C1302910%2C1304426%2C1322167%2C1349852%2C1367886%2C1367949&list_id=6435558

If I set "contains any of the strings" to RFE, the bug list finds bugs with "rfe, RFE, Rfe, etc." If I try to run the rule on these bugs, only the ones with "RFE" would change.

Here it works:
https://partner-bugzilla.redhat.com/show_bug.cgi?id=1367949
Here it doesn't:
https://partner-bugzilla.redhat.com/show_bug.cgi?id=1322167


Another rule to try:
https://partner-bugzilla.redhat.com/page.cgi?id=ruleengine/details/index.html&rule_name=rebase

Thanks.

Comment 1 Rony Gong 🔥 2016-11-21 12:55:40 UTC
QE could reprodue this on QE test server

Comment 2 Matt Tyson 🤬 2016-11-22 04:15:05 UTC
The following operations should be case insensitive

anywordssubstr - contains any of the strings
allwordssubstr - contains all of the strings
nowordssubstr  - contains none of the strings
substring      - contains the string
notsubstring   - does not contain the string

Comment 3 Rony Gong 🔥 2017-01-06 08:21:35 UTC
Tested on QA environment(5.0.3-rh21)
Result: Pass
Steps:
Now, it will hit bugs which summary including rfe or RFE

Comment 4 Rony Gong 🔥 2017-01-09 09:31:37 UTC
Tested on QA environment(4.4.12065-1.el6)
Result: Pass
Steps:
Now, it will hit bugs which summary including rfe or RFE

Comment 5 Matt Tyson 🤬 2017-01-30 01:00:42 UTC
This change is now live. If there are any issues, do not reopen this bug.                                                                                                           
Instead, you should create a new bug and reference this bug.


Note You need to log in before you can comment on or make changes to this bug.