Bug 2042549

Summary: BRE rules do not treat "---" and empty the same
Product: [Community] Bugzilla Reporter: Laurie Friedman <lfriedma>
Component: Internal ToolsAssignee: Jeff Fearn 🐞 <jfearn>
Internal Tools sub component: bugzilla-tools QA Contact:
Status: NEW --- Docs Contact:
Severity: high    
Priority: high CC: blc, jfearn, lfriedma, lmiksik
Version: 5.0   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 1 Jeff Fearn 🐞 2022-01-19 22:25:26 UTC
'is not equal to' not matching NULL isn't a bug. 'is not empty' should not be matching on '---' for select fields.

Comment 2 Jeff Fearn 🐞 2022-02-17 04:42:47 UTC
Dev Note: extensions/RuleEngine/lib/Job.pm sub _custom_search_match_real "$op eq 'isnotempty'" is checking for '---' but perhaps the conditions for that check are flawed?

Comment 3 Jeff Fearn 🐞 2022-04-20 03:45:37 UTC
Hi Laurie, AFAICT 'is empty' and 'is not empty' are working properly, do you have a current example where it fails?