You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jochen Kemnade (JIRA)" <ji...@apache.org> on 2015/01/12 09:11:08 UTC
[jira] [Closed] (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:all-tabpanel ]
Jochen Kemnade closed TAP5-1045.
--------------------------------
Resolution: Invalid
We assume this is no longer relevant and therefore close it.
If you still have this issue in a recent Tapestry version (such as 5.3.8 or the latest 5.4 preview release), feel free to provide the necessary information and reopen.
> 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
> Labels: bulk-close-candidate
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)