Bug 1176554

Summary: Guided Rule Editor: Expression editor not available for a fact
Product: [Retired] JBoss BRMS Platform 6 Reporter: Zuzana Krejčová <zkrejcov>
Component: Business CentralAssignee: manstis
Status: CLOSED EOL QA Contact: Lukáš Petrovický <lpetrovi>
Severity: medium Docs Contact:
Priority: high    
Version: 6.1.0CC: kverlaen, lpetrovi
Target Milestone: ER4   
Target Release: 6.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 19:43:31 UTC 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:
Attachments:
Description Flags
screenshot none

Description Zuzana Krejčová 2014-12-22 10:21:18 UTC
Created attachment 971948 [details]
screenshot

Description of problem:
Expression editor cannot even be selected - see 'Steps to Reproduce' and 'Actual results'.


Version-Release number of selected component (if applicable):
6.1 ER3


Steps to Reproduce:
1. Create a guided rule, add a simple condition: There is a Person.
2. Modify constraints for Person - select Expression editor.


Actual results:
Pop-up ('Modify constraints for Person') does not disappear. The previously added condition (Person( )) disappears from the guided editor. As well as everything below the WHEN section.
If you close the pop-up, you cannot re-add the condition - you get the pop-up prompting to choose a condition, but nothing is added.
Source tab is empty, rule cannot be closed.


Expected results:
Expression editor can be chosen and works, rule can be reopened, nothing disappears that should not.


Additional info:
This also seems to affect rules using subfields - e.g. the examples from bug 986000. Such rule can be saved, validates fine, but when closed, cannot be reopened. The editor then stays empty, and the rule cannot be closed again. The source of the rule is still valid though.
(Constraint on a subfield not added via expression editor, when the rule is reopened, the constraint is done in the expression editor.)