[
https://issues.jboss.org/browse/DROOLS-2373?page=com.atlassian.jira.plugi...
]
Jozef Marko updated DROOLS-2373:
--------------------------------
Steps to Reproduce:
1) Create a guided decision table
2) Add a BRL condition on a fact-field that has an enum attached to it and where the
condition is "is contained in the (comma separated) list = $templatekey"
3) Look at the guided decision table, and verify that the $templatekey field is a
singleselect dropdown while a multiselect dropdown is expected.
*Edited*
The problem is that in the piece of code below the expressions {{column.getOperator()}}
returns null.
{{BRLConditionVariableColumnConverter#convertColumn}}
{code:java}
if (OperatorsOracle.operatorRequiresList(column.getOperator())) {
return newMultipleSelectEnumColumn(factType,
factField,
column,
access,
gridWidget);
} else {
return newSingleSelectionEnumColumn(factType,
factField,
dataType,
column,
access,
gridWidget);
}
{code}
was:
1) Create a guided decision table
2) Add a BRL condition on a fact-field that has an enum attached to it and where the
condition is "is contained in the (comma separated) list = $templatekey"
3) Look at the guided decision table, and verify that the $templatekey field is a
singleselect dropdown while a multiselect dropdown is expected.
*Edited*
The problem is that in the piece of code below the expressions `column.getOperator()`
returns null.
{{BRLConditionVariableColumnConverter#convertColumn}}
{code:java}
if (OperatorsOracle.operatorRequiresList(column.getOperator())) {
return newMultipleSelectEnumColumn(factType,
factField,
column,
access,
gridWidget);
} else {
return newSingleSelectionEnumColumn(factType,
factField,
dataType,
column,
access,
gridWidget);
}
{code}
BRL "is contained in the (comma separated) list" does not
produce multiselect dropdown
--------------------------------------------------------------------------------------
Key: DROOLS-2373
URL:
https://issues.jboss.org/browse/DROOLS-2373
Project: Drools
Issue Type: Bug
Components: Guided Decision Table Editor, Guided Rule Editor
Affects Versions: 7.6.0.Final
Environment: Tomcat 8.5 / RHEL 7
Reporter: Yannick Geerts
Assignee: Michael Anstis
Google groups link:
https://groups.google.com/forum/#!topic/drools-usage/VElZ3KAZMIs
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)