Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1064483

Summary: Selected values from enumeration are not persisted upon the page refresh in Guided Rule Editor
Product: [Retired] JBoss BRMS Platform 6 Reporter: Anton Giertli <agiertli>
Component: Business CentralAssignee: manstis
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Locker <jlocker>
Severity: medium Docs Contact:
Priority: high    
Version: 6.0.0CC: kverlaen, lpetrovi, mbaluch, rrajasek
Target Milestone: ER2Keywords: Reopened
Target Release: 6.0.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 19:57:18 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
screenshots from the guided editor none

Description Anton Giertli 2014-02-12 16:57:56 UTC
Description of problem:

When you create a rule using Guided Editor, and you create a condition on an fact attributes which is associated with enumeration, selected values from the enumeration are not shown after page refresh though the original values are still visible in the 'source' tab.


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


How reproducible:


Steps to Reproduce:
1. Create fact TestFact
2. Create attribute testAttr
3. Create enumeration , for example:
 
Fact    Field      Context
'TestFact.testAttr' : ["20","30","40","50","60","70"]

4. Now create a guided rule, with the condition on the TestFact, then add restriction on the testAttr field and choose "is contained in the". 
5. Select 'literal value' and the list of the values from the enum is now displayed. Select values "20","30"
6. You can check under the 'source' tab that the values are really selected.
7. Save the rule
8. Refresh the page, and navigate to the same rule again. The values are not selected from the list. However, under the 'source' tab the original values are still visible.

Actual results:
Values previously selected in the list are not visible after page refresh in the UI, only in the generated code.

Expected results:
Selected values should 'survive' the page refresh in both - generated code && UI.

Additional info:

Comment 1 Anton Giertli 2014-02-12 17:06:23 UTC
Created attachment 862456 [details]
screenshots from the guided editor

I have added some screenshots for further demonstration of the issue. I have had the feeling that the description is far too verbose and complex..

Comment 4 manstis 2014-02-13 15:44:27 UTC
It looks like this BZ has been reported with an old version of BPMS/BRMS (as the icons in the Project Explorer are out of date). I tried to replicate this issue with the latest build but was unable.