[jboss-jira] [JBoss JIRA] (DROOLS-1654) Don'ing a Map-Based Fact Loses the Fact
KimJohn Quinn (JIRA)
issues at jboss.org
Sat Jul 8 10:57:00 EDT 2017
[ https://issues.jboss.org/browse/DROOLS-1654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
KimJohn Quinn updated DROOLS-1654:
----------------------------------
Attachment: traits-with-class.drl
traits-with-maps.drl
traits-with-model.drl
> Don'ing a Map-Based Fact Loses the Fact
> ---------------------------------------
>
> Key: DROOLS-1654
> URL: https://issues.jboss.org/browse/DROOLS-1654
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 7.0.0.Final
> Environment: * Alpine Linux (in a Docker container)
> * Oracle JDK 8
> * Drools 7.0.0.Final
> * Spring Boot v1.5.4.RELEASE (though testing without any Spring)
> Reporter: KimJohn Quinn
> Assignee: Mario Fusco
> Labels: traits
> Attachments: TraitDonningTest.java, traits-with-class.drl, traits-with-maps.drl, traits-with-model.drl, traits.drl
>
>
> It appears that after don'ing the trait the map-based fact it is proxying disappears (or gets retracted).
> There does not seem to be any issue using the trait properties to access the model properties.
> We are trying to use the model, mostly for constraints and updates, then within the rules apply and use traits to give us a stronger-typed fact and easier rule constraining.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list