Red Hat Bugzilla – Bug 1290409
Saving a rule freezes if there is an unfinished method call
Last modified: 2016-07-31 21:18:58 EDT
Created attachment 1104330 [details]
screenshot - rule should look like this before saving
Description of problem:
See summary and steps to reproduce.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a guided rule, add a fact to the LHS/WHEN section and bind it to a variable.
2. Add a method call on that bound fact to the RHS/THEN section without actually selecting a method. (Screenshot shows how it should look now.)
3. Try to save the rule.
"Saving..." modal that never goes away. User has to refresh the page to be able to continue work. Rule is not saved.
Saving is not event allowed, user is presented with a warning that (s)he should finish the rule, similarly to bug 1009385 comment 8.