Bug 724502 (BRMS-448) - Web decision table: it is possible to add a duplicate attribute/metadata column and not possible to remove it if the table has at least one row
Summary: Web decision table: it is possible to add a duplicate attribute/metadata colu...
Keywords:
Status: VERIFIED
Alias: BRMS-448
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: BRM (Guvnor)
Version: 5.1.0.ER4,BRMS 5.2.0.GA
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
: future
Assignee: manstis
QA Contact: Jiri Locker
URL: http://jira.jboss.org/jira/browse/BRM...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-22 18:24 UTC by Jiri Locker
Modified: 2023-05-15 19:53 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
When creating web decision tables it was possible to add a duplicate attribute or metadata column, however, once the duplicate column had been added it was not possible to remove it. It is no longer possible to add duplicate attribute or metadata columns when creating web decision tables.
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 724444 0 medium CLOSED Web decision table: 'Group by column' select box content doesn't update as columns are added/removed 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker BRMS-448 0 Major Closed Web decision table: it is possible to add a duplicate attribute/metadata column and not possible to remove it if the tab... 2013-10-22 11:55:29 UTC

Internal Links: 724444

Description Jiri Locker 2010-11-22 18:24:47 UTC
Steps to Reproduce: 1. create a fresh WDT
2. add a row (Modify > Add row...)
3. expand Decision table pane, expand (options) section
4. add any attribute + add the same attribute one more time
5. try removing one of the duplicates
securitylevel_name: Public

After adding a duplicate attribute/metadata and trying to remove one of them it's not possible to make any changes in the (options) section and not possible to save the asset, until clearing all contents of the decision table (removing all rows).

Expected behaviour: 
Attributes: The option to choose an attribute that has been already added shouldn't be present in the select box.
Metadata: After hitting the green '+' button, the application should check if the metadata name already exists and if it does, display an error message, preventing adding a duplicate.

Comment 1 Jiri Locker 2010-11-22 18:25:25 UTC
Link: Added: This issue related BRMS-389


Comment 2 Anne-Louise Tangring 2011-09-13 18:19:36 UTC
Retest to see if this is still an issue with newer version of Guvnor.

Comment 3 lcarlon 2011-09-16 01:20:01 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
When creating web decision tables it is possible to add a duplicate attribute or metadata column, however, once the duplicate column has been added it is not possible to remove it.

Comment 4 Jiri Locker 2011-09-22 14:08:28 UTC
The bug is no longer present in BRMS 5.2.0 ER4. Release note should be updated to reflect the resolution.

Comment 5 lcarlon 2011-09-22 21:36:32 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1 @@
-When creating web decision tables it is possible to add a duplicate attribute or metadata column, however, once the duplicate column has been added it is not possible to remove it.+When creating web decision tables it is possible to add a duplicate attribute or metadata column, however, once the duplicate column had been added it was not possible to remove it.

Comment 6 lcarlon 2011-09-22 21:40:20 UTC
Thanks Jiri,

I've changed the tense to past tense. I'm using a partly automatic process to generate the final release notes, which adds a statement to the end of the release note that states either, "This issue was resolved in JBoss Enterprise BRMS 5.2.0" or "This behavior persists in JBoss Enterprise BRMS 5.2.0. and will be resolved in a future release." depending on the status of the bug.

Thanks
Lee

Comment 7 Jiri Locker 2011-09-23 10:00:21 UTC
Lee, I'm sorry for being too vague in the comment 4. I should have explained how the issue was resolved. The bug has gone because *it is no longer possible to add duplicate attribute or metadata column*. So, the technical note should go like:

When creating web decision tables it *was* possible to add
a duplicate attribute or metadata column, however, once the duplicate column
had been added it was not possible to remove it. *It is no longer possible to add duplicate attribute or metadata columns when creating web decision tables.*

(Or something like that.)

Comment 8 lcarlon 2011-09-26 00:03:19 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1 @@
-When creating web decision tables it is possible to add a duplicate attribute or metadata column, however, once the duplicate column had been added it was not possible to remove it.+When creating web decision tables it was possible to add a duplicate attribute or metadata column, however, once the duplicate column had been added it was not possible to remove it. It is no longer possible to add duplicate attribute or metadata columns when creating web decision tables.

Comment 9 lcarlon 2011-09-26 00:04:00 UTC
Thanks Jiri, the note has been updated.


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