[
https://jira.jboss.org/jira/browse/JBRULES-2294?page=com.atlassian.jira.p...
]
Edson Tirelli closed JBRULES-2294.
----------------------------------
Resolution: Done
A modify or update action is broken into a retract+insert operation. When an event is
expired, it is effectively removed from the node memories, preventing new matches from
occurring and making further retractions useless. Although existing activations are
preserved for future executions.
A bug in the "insert" half of a modify/update operation was causing rules
dependent on an event to be re-activated, even if the event was already expired. Later,
when these activations were fired, a NPE was raised because the events were no longer
accessible.
The "insert" algorithm was fixed to not reactivate rules based on expired
events, preventing the NPE.
NPE when a user/rule modify an expired fact
-------------------------------------------
Key: JBRULES-2294
URL:
https://jira.jboss.org/jira/browse/JBRULES-2294
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: drools-compiler, drools-core
Affects Versions: 5.0.1.FINAL
Reporter: Edson Tirelli
Assignee: Edson Tirelli
Fix For: 5.1.0.M2
A NPE is raised when a user or rule tries to modify an expired event.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira