[
https://issues.jboss.org/browse/DROOLS-1418?page=com.atlassian.jira.plugi...
]
Matteo Mortari commented on DROOLS-1418:
----------------------------------------
Other comments.
Manually casting the field as in:
{code:java}
MapHolder( $a : fieldMap#java.util.Map.get(\"keyA\") )
{code}
compiles without error and test OK.
Dropping from the pojo the generics as in:
{code:java}
public Map getFieldMap() {
{code}
compiles without error and test OK.
Using OOPath as in:
{code:java}
MapHolder( $a: /fieldMap/entrySet{key==\"keyA\"}.value )
{code}
compiles without error and test OK.
Digressing for OOPath, also:
{code:java}
MapHolder( $a: /fieldMap/entrySet{key==\"keyA\"} )
{code}
and
{code:java}
MapHolder( $a: /fieldMap/entrySet{key==\"keyA\"}/value )
{code}
works.
Binding of List stored in Map doesn't work in special case
----------------------------------------------------------
Key: DROOLS-1418
URL:
https://issues.jboss.org/browse/DROOLS-1418
Project: Drools
Issue Type: Bug
Components: core engine
Affects Versions: 7.0.0.Beta5
Reporter: Jozef Marko
Assignee: Mario Fusco
Labels: dtable_testday_preparation, reported-by-qe
Attachments: reproducer.zip
User has possibility to bind a List stored as item of a Map in his rule. However this
dosn't work in one special case. For more details see the steps to reproduce.
This issue was discussed with [~tari_manga] and he also provided the workaround used in
reproducer. Thanks.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)