Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be available on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 1265705 - GDT: cannot change default value in case of dependent enum
Summary: GDT: cannot change default value in case of dependent enum
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: manstis
QA Contact: Lukáš Petrovický
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-23 13:55 UTC by Zuzana Krejčová
Modified: 2020-03-27 19:34 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 19:34:28 UTC
Type: Bug


Attachments (Terms of Use)

Description Zuzana Krejčová 2015-09-23 13:55:42 UTC
Description of problem:
My enumeration definition is like this:
'EnumFact.fieldInteger1' : ['0', '1', '2']
'EnumFact.fieldInteger2' : ['3=three', '4=four']
'EnumFact.fieldInteger2[fieldInteger1=0]' : ['30=thirty', '40=forty']
'EnumFact.fieldInteger2[fieldInteger1=1]' : ['31=thirty-one', '41=forty-one']

In a guided dtable, the columns are set up so that a row with default values looks like this:
$enumFact : EnumFact( fieldInteger1 == 1 , fieldInteger2 == 41 )

If you change the default value of the 'fieldInteger1' column to anything else, you won't be able to change the default value of the 'fieldInteger2' column.
You can choose the value in the appropriate drop-down, but clicking 'Ok' then has no effect. The modal for the column configuration won't disappear.


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


Steps to Reproduce:
1. Create enumeration def. as described above.
2. Create a new guided dtable.
3. Add simple condition column for pattern $enumFact : EnumFact, with restriction on fieldInteger1, choose 1 as default value.
4. Add simple condition column for pattern $enumFact : EnumFact, with restriction on fieldInteger2, choose 'forty-one' as default value.
(5. Add a row.)
6. Change the configuration of the first column (from step 3) - select 2 as the default value. Click Ok.
7. Change the configuration of the second column (from step 4) - select 'four' as the default value.
8. Click Ok.


Actual results:
Column configuration modal stays visible.


Expected results:
Column configuration modal disappears (configuration changed).


Note You need to log in before you can comment on or make changes to this bug.