]
Mark Proctor updated JBRULES-2096:
----------------------------------
Fix Version/s: 5.1.0.M2
Assignee: Edson Tirelli (was: Mark Proctor)
AbstractRuleBase.removeRule(String, String) does not release the lock
when failing removing rule from the package
-----------------------------------------------------------------------------------------------------------------
Key: JBRULES-2096
URL:
https://jira.jboss.org/jira/browse/JBRULES-2096
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: drools-core
Affects Versions: 4.0.7
Environment: N/A
Reporter: Steinar Haugen
Assignee: Edson Tirelli
Fix For: 5.1.0.M2
This issue is copy of
https://jira.jboss.org:8443/jira/browse/JBRULES-603
Original text:
AbstractRuleBase.removeRule(String, String) locks the working memories before removing
the rule from the package. However the actual operation of removing rules can fail with an
exception which leaves the unlock operation bypassed. This will lock up all the working
memories from that point on.
The original issue has status "Resolved", but the fix has apparantly been
rolled back. At least it is present in Drools version 4.0.7 (i.e. not encapsulated in try
/ finally).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: