[ 
https://issues.apache.org/jira/browse/TAP5-1045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12846352#action_12846352
 ] 

Robin Komiwes commented on TAP5-1045:
-------------------------------------

Ok, tried to add "preventDecoration" to AssetObjectProvider. It partially fix 
the problem because it's now the Alias service which is doing recursion.

> Recursion issues when using Match("*") and injection for advices declaration
> ----------------------------------------------------------------------------
>
>                 Key: TAP5-1045
>                 URL: https://issues.apache.org/jira/browse/TAP5-1045
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core, tapestry-ioc
>    Affects Versions: 5.1.0.5
>            Reporter: Robin Komiwes
>         Attachments: errors.txt
>
>
> Injecting a service (protected by @PreventServiceDecoration) in an advice 
> declaration matching all services seems to produce recursion issues. 
> Example, this will not work
>    @Match("*")
>     public static void adviseSomething(@Inject Dummy dummy, 
> MethodAdviceReceiver receiver)
>     {
>     };
> However, this will work:
>    @Match("*")
>     public static void adviseSomething( MethodAdviceReceiver receiver)
>     {
>     };

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to