[jboss-jira] [JBoss JIRA] (DROOLS-1654) Don'ing a Map-Based Fact Loses the Fact
KimJohn Quinn (JIRA)
issues at jboss.org
Fri Jul 7 12:58:01 EDT 2017
KimJohn Quinn created DROOLS-1654:
-------------------------------------
Summary: 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
Attachments: TraitDonningTest.java, 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