Bug 724189 (BRMS-132)

Summary: static enums cannot handle dependencies on more than one field
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Jaroslaw Kijanowski <kijanowski>
Component: BRM (Guvnor)Assignee: Toni Rikkola <toni>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: high    
Version: 5.0.0 GA   
Target Milestone: ---   
Target Release: 5.0.1   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/BRMS-132
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-08-28 13:20:47 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:

Description Jaroslaw Kijanowski 2009-05-22 09:02:08 UTC
Date of First Response: 2009-09-11 00:22:03
securitylevel_name: Public

Comment 1 Jaroslaw Kijanowski 2009-05-22 09:02:26 UTC
Link: Added: This issue depends GUVNOR-322


Comment 2 nwallace 2009-07-08 14:38:21 UTC
Link: Added: This issue depends GUVNOR-409


Comment 3 nwallace 2009-07-08 14:38:43 UTC
Link: Removed: This issue depends GUVNOR-409 


Comment 4 Jaroslaw Kijanowski 2009-08-28 13:20:47 UTC
Verified in 5.0.1 CR1

Comment 5 Dana Mison 2009-09-11 04:22:03 UTC
Please confirm the following for the Release Notes documentation and fill in the missing information (CAUSE & FIX). 

Dot point explanations are fine:

The CAUSE (what was actually broken)
 * 

CONSEQUENCES of the bug (how users might have encountered it)
 * Static enumerations with more than one dependancy did not work.  
 * The guided editor would only display a textbox instead of the expected listbox.

The FIX (what was changed to eliminate this bug)
 *

RESULTS of the fix (what now happens for users)
 * Multiple comma-separated dependancies can now be specified for a static enumeration and the guided editor will displayed the listbox of values as expected.

Comment 6 Jaroslaw Kijanowski 2009-09-11 10:59:46 UTC
Assigning this to Toni since he has fixed this bug and may answer these questions

Comment 7 David Le Sage 2009-09-23 05:22:32 UTC
We are still awaiting the outstanding information for the Release Notes on this one.  Please provide it as soon as possible. Thanks.

Comment 8 Toni Rikkola 2009-09-23 09:13:07 UTC
The CAUSE (what was actually broken)
 * Search was too simple. Information for the feature was there, but the code for more than one field did not exist when using static enums. 

CONSEQUENCES of the bug (how users might have encountered it)
 * Static enumerations with more than one dependancy did not work.
 * The guided editor would only display a textbox instead of the expected listbox.

The FIX (what was changed to eliminate this bug)
 * Made the suggestion completion engine search the enum selections for more than one field.

RESULTS of the fix (what now happens for users)
 * Multiple comma-separated dependancies can now be specified for a static enumeration and the guided editor will displayed the listbox of values as expected.

Comment 9 Dana Mison 2009-10-05 03:15:32 UTC
Added to the 5.0.CP01 release notes as resolved:

GUVNOR-322
Static enumerations with more than one dependency did not work, displaying a text box instead of the expected list box.  This was due to the code for the suggestion completion search not searching for multiple fields here.  Support for this has been added and now multiple comma-separated dependencies can now be specified for a static enumeration.