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