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

Bug 724444 (BRMS-389)

Summary: Web decision table: 'Group by column' select box content doesn't update as columns are added/removed
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Jiri Locker <jlocker>
Component: BRM (Guvnor)Assignee: Toni Rikkola <trikkola>
Status: CLOSED WONTFIX QA Contact: Jiri Locker <jlocker>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.1.0.ER2CC: atangrin
Target Milestone: ---   
Target Release: future   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/BRMS-389
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-13 18:16:57 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
WDT_GroupBy.png none

Description Jiri Locker 2010-10-15 11:29:41 UTC
Steps to Reproduce: 1. create new rule in the form of Web Decision Table
2. add new column by adding one of the available attributes
3. expand the "Group by column" select box

Workaround: Workaround Exists
Workaround Description: Save and reopen the asset to get updated contents of the "Group by column" select box.
securitylevel_name: Public

To quickly reproduce, create new rule in the form of Web Decision Table, add new column by adding one of the available attributes. Now, if you want to set the newly added column as a "group by" column, it's not possible because the option is not present in the select box.

If you do it the other way around -- remove a column and try to group by it, the whole decision table under the "Modify" button disappears. The same happens if you remove a column that the table is "grouped by", which can easily happen by accident. This leads to loosing any unsaved work or, in a worse case, if you save the table in the illegal state, it becomes completely inaccessible for any further opening attempts.

Comment 1 Jiri Locker 2010-10-15 11:30:52 UTC
Attachment: Added: WDT_GroupBy.png


Comment 2 Toni Rikkola 2010-10-20 11:33:24 UTC
Link: Added: This issue is related to GUVNOR-678


Comment 3 Toni Rikkola 2010-11-15 13:31:35 UTC
Does a refresh on the dropdown when changes happen.

Comment 4 Jiri Locker 2010-11-22 17:27:22 UTC
The select box now updates correctly after adding a Condition column. But:
- it doesn't update after adding an Action column or attribute/metadata column
- after removing a column of any type (condition, action, attribute, metadata) the Description option is removed from the list although the Description column is still present.

Comment 5 Jiri Locker 2010-11-22 18:25:25 UTC
Link: Added: This issue is related to BRMS-448


Comment 6 Anne-Louise Tangring 2010-11-23 20:15:25 UTC
This is not a blocker for BRMS 5.1.0, moving to future.

Comment 7 Anne-Louise Tangring 2011-09-13 18:16:57 UTC
Underlying Guvnor issue is closed as out of date. Doing same here.