Red Hat Bugzilla – Bug 1313572
Rules engine does not accept regex when performing recursive action validation
Last modified: 2016-09-22 04:09:48 EDT
Created attachment 1132083 [details]
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.
*** Bug 1360606 has been marked as a duplicate of this bug. ***
Tested on QA environment(4.4.12058-1)
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.
flag ceph-1.3.z ?
Tried to test this but the server has an issue with it's database, has Ops been notified?
Tested on QA environment(4.4.12058-2)
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.