Bug 724502 (BRMS-448)

Summary: 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
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Jiri Locker <jlocker>
Component: BRM (Guvnor)Assignee: manstis
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: high    
Version: 5.1.0.ER4, BRMS 5.2.0.GA   
Target Milestone: ---   
Target Release: future   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/BRMS-448
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-10 03:13:52 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 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.

Comment 15 Red Hat Bugzilla 2025-02-10 03:13:52 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.