git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (ARIES-1811) `effects` is not unwinding properly when exceptions occur


Carlos Sierra created ARIES-1811:
------------------------------------

             Summary: `effects` is not unwinding properly when exceptions occur
                 Key: ARIES-1811
                 URL: https://issues.apache.org/jira/browse/ARIES-1811
             Project: Aries
          Issue Type: Bug
          Components: Component DSL
    Affects Versions: component-dsl-1.1.0
            Reporter: Carlos Sierra


{{effects}} does not execute the _on leave_ action if an exception occur. This can leave the system in an inconsistent state, event if {{recover}} or {{recoverWith}} have been correctly used. 

It should make sure the _on leave_ action is always executed *if and only if* the _on adding_ action has been executed. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)