[
https://issues.apache.org/jira/browse/TAP5-1045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robin Komiwes updated TAP5-1045:
--------------------------------
Attachment: errors.txt
PFA recursions errors produced when using injection.
> 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.