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

Bug 1132484

Summary: Test Scenario: input for field used with dependent enumeration not updated
Product: [Retired] JBoss BRMS Platform 6 Reporter: Zuzana Krejčová <zkrejcov>
Component: Business CentralAssignee: Toni Rikkola <trikkola>
Status: CLOSED EOL QA Contact: Lukáš Petrovický <lpetrovi>
Severity: low Docs Contact:
Priority: medium    
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:41:28 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:

Description Zuzana Krejčová 2014-08-21 12:31:52 UTC
Description of problem:
See bug 1048962, same applies to Test Scenarios.
Enumeration contains the following:
'Fact.field1' : ['val1', 'val2']
'Fact.field2[field1=val1]' : ['val3', 'val4']
In a test scenario, add a given fact Fact, and both mentioned fields. When you switch around value for field1, input element for value for field2 will get disabled.


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


Steps to Reproduce:
1. Create the appropriate POJO and enumeration (see description).
2. Create a test scenario, add a given fact Fact and add field1 and field2.
3. Select literal value 'val1' for field1.
4. Choose literal value and one of the offered values for field2.
5. Switch field1 to val2.
6. Switch field1 back to val1.

Actual results:
Step 5 - input element for field2 is disabled, no text.
Step 6 - input element for field2 is still disabled, 'val3' is displayed.


Expected results:
Step 5 - input element for field2 is enabled, in form of simple editable line.
Step 6 - input element for field2 is enabled, in form of a drop-down/select box with options 'val3' and 'val4'.

Comment 2 Zuzana Krejčová 2015-01-27 16:27:57 UTC
The reported issue is fixed - following the 'Steps to Reproduce' yields the expected results. There are further issues uncovered by this fix though, I will be adding them shortly.