Bug 2042549 - BRE rules do not treat "---" and empty the same
Summary: BRE rules do not treat "---" and empty the same
Keywords:
Status: NEW
Alias: None
Product: Bugzilla
Classification: Community
Component: Internal Tools
Version: 5.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Jeff Fearn 🐞
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-19 17:07 UTC by Laurie Friedman
Modified: 2023-07-22 08:27 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

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?


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