[
https://issues.apache.org/jira/browse/ARIES-1922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16919447#comment-16919447
]
ASF subversion and git services commented on ARIES-1922:
--------------------------------------------------------
Commit 866bafa85e3ba00751e9e45cdc2e8dbf1aa30325 in aries-component-dsl's branch
refs/heads/master from Carlos Sierra
[ https://gitbox.apache.org/repos/asf?p=aries-component-dsl.git;h=866bafa ]
[ARIES-1922] Fix effect handling
If any exception happens in any of the onAddingBefore or onAddingAfter
points the effects need to be undone. onAddingAfter must take into
account the effects of the language.
> Effects is not properly handling exceptions that might happen in the
> {{onAddedAfter}} event handler
> ---------------------------------------------------------------------------------------------------
>
> Key: ARIES-1922
> URL: https://issues.apache.org/jira/browse/ARIES-1922
> Project: Aries
> Issue Type: Bug
> Components: Component DSL
> Affects Versions: component-dsl-1.2.1
> Reporter: Carlos Sierra
> Priority: Major
> Fix For: component-dsl-1.2.2
>
>
> in an Effects node, if an error is produced down the chain, there is nothing
> to undo because the chain did not return a closing handler. However, if the
> error is produced in the {{onAddingAfter}} event, the closing handler needs
> to be invoked and the exception rethrown.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)