You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Carlos Sierra (JIRA)" <ji...@apache.org> on 2018/06/15 07:29:00 UTC

[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)