Red Hat Bugzilla – Bug 985368
User cannot select multiple values from enumeration for operator "is contained in the a (comma separated) list" in Web Guided Decision Table
Last modified: 2014-08-06 16:17:47 EDT
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
It shows a drop down list but you can choose only one value.
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") )
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.
https://issues.jboss.org/browse/GUVNOR-1858 has a similar concern but not directly related.
This needs to be relooked at by engineering.
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?
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?
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" ) )