Bug 985368 - User cannot select multiple values from enumeration for operator "is contained in the a (comma separated) list" in Web Guided Decision Table
Summary: User cannot select multiple values from enumeration for operator "is containe...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Business Central
Version: 5.x.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ER6
: 6.0.0
Assignee: manstis
QA Contact: Jiri Locker
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-17 11:05 UTC by Toshiya Kobayashi
Modified: 2018-12-04 15:36 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:17:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
repository_export_enum_dt.xml (35.35 KB, text/xml)
2013-07-17 11:10 UTC, Toshiya Kobayashi
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1079936 0 medium CLOSED Guided Decision Table: missing input validation if a comma needs to be allowed 2021-02-22 00:41:40 UTC

Internal Links: 1079936

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" ) )


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