Bug 1313572 - Rules engine does not accept regex when performing recursive action validation
Summary: Rules engine does not accept regex when performing recursive action validation
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Bugzilla
Classification: Community
Component: Internal Tools
Version: 4.4
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: 4.4
Assignee: Jeff Fearn 🐞
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-01 23:25 UTC by John Poelstra
Modified: 2018-12-09 06:29 UTC (History)
5 users (show)

Fixed In Version: 4.4.12058-6
Clone Of:
Environment:
Last Closed: 2016-09-05 00:38:03 UTC
Embargoed:


Attachments (Terms of Use)
screenshot (190.37 KB, image/png)
2016-03-01 23:25 UTC, John Poelstra
no flags Details

Description John Poelstra 2016-03-01 23:25:33 UTC
Created attachment 1132083 [details]
screenshot

Description of problem:

Rules engine does not accept regex when performing recursive action validation.

I had to add a second validation rule to check that my flag was "unset" to shut up the big red error box (see attached).

See example: https://bugzilla.redhat.com/page.cgi?id=ruleengine/edit.html&action=update&rule_id=72

What's even more annoying is that existing rules that are running fine, suddenly through a similar error after you edit them or clone them.

Cloning is even more aggravating because you've gone through input on all the screens and there is no way to save your work because it keeps complaining about the bogus missing validation routine.

Comment 1 Jeff Fearn 🐞 2016-08-01 02:05:13 UTC
*** Bug 1360606 has been marked as a duplicate of this bug. ***

Comment 2 Rony Gong 🔥 2016-08-08 02:18:02 UTC
Tested on QA environment(4.4.12058-1)
Result: Pass
Steps:
1.Try to edit this rule 'Ceph: set proposed release flag for new bugs'(https://bzweb.host.qe.eng.pek2.redhat.com/page.cgi?id=ruleengine/edit.html&action=update&rule_id=72), click 'Next' button until step 4, 
==>Page show error:

It appears that you have a rule action setting the following fields but no rule criteria checking that at least one of these values is not already set.

field	value
flag ceph-1.3.z	?

Comment 3 Jeff Fearn 🐞 2016-08-11 05:50:56 UTC
Tried to test this but the server has an issue with it's database, has Ops been notified?

Comment 4 Rony Gong 🔥 2016-08-16 07:30:06 UTC
Tested on QA environment(4.4.12058-2)
Result: Pass

Comment 5 Jeff Fearn 🐞 2016-09-05 00:38:03 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.