Bug 985368

Summary: User cannot select multiple values from enumeration for operator "is contained in the a (comma separated) list" in Web Guided Decision Table
Product: [Retired] JBoss BRMS Platform 6 Reporter: Toshiya Kobayashi <tkobayas>
Component: Business CentralAssignee: manstis
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Locker <jlocker>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.x.xCC: etirelli, paradhya, wdecoste
Target Milestone: ER6   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:17: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:
Embargoed:
Attachments:
Description Flags
repository_export_enum_dt.xml none

Description Toshiya Kobayashi 2013-07-17 11:05:36 UTC
Description of problem:

When you configure an Enumeration in Guvnor and use the filed in Web Guided Decision table, it shows a drop down list for cells. But you can choose only one value. Usually it's okay but in case of operator "is contained in the a (comma separated) list", you should want to select multiple values from the list.

Steps to Reproduce:
1. Import attached repository_export_enum_dt.xml
2. Open "dt1"
3. Click a cell of 'name' column

Actual results:

It shows a drop down list but you can choose only one value.

Expected results:

It shows a list box which allows you to select multiple values. And then it will be DRL like 

c : Country( name in ("Argentina", "Paraguay") )

Comment 1 Toshiya Kobayashi 2013-07-17 11:09:27 UTC
I wonder if I should file a community Guvnor JIRA because Guvnor 5.5.0 doesn't allow to select "is contained in the a (comma separated) list" if the field is configured as Enumeration in Guvnor.

Anyway I file this as a feedback from BRMS 5.3.1.

Comment 3 Toshiya Kobayashi 2013-07-17 11:26:26 UTC
https://issues.jboss.org/browse/GUVNOR-1858 has a similar concern but not directly related.

Comment 5 Prakash Aradhya 2013-08-06 19:54:29 UTC
This needs to be relooked at by engineering.

Comment 11 Bill DeCoste 2014-01-06 18:58:51 UTC
I've got a customer who has reported this bug but they also showed that Enumerations were all broken not just "is contained in the a (comma separated) list". Can you confirm that this is a broader issue with the Beta?

Thanks -Bill

Comment 12 Toshiya Kobayashi 2014-01-07 02:49:51 UTC
Hi Bill,

I have lightly tested 6.0.0.Beta and the latest ER7 build. Enumeration is working well to me. Could you ask the customer to raise a new support ticket so that we can identify the issue?

Regards,
Toshiya

Comment 15 Jiri Locker 2014-01-15 09:50:50 UTC
Verified in ER7. The dropdown select box with enumerated values works as multi-selection list and so it is possible to select multiple values. The resulting rule source contains something like:
> Fact( field in ( "enum1", "enum2", "enum3" ) )