You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (Commented) (JIRA)" <ji...@apache.org> on 2011/10/17 22:49:11 UTC

[jira] [Commented] (TAP5-1045) Recursion issues when using Match("*") and injection for advices declaration

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

Howard M. Lewis Ship commented on TAP5-1045:
--------------------------------------------

Given that the Alias service is gone, is this still a problem?
                
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira