[ 
https://issues.apache.org/jira/browse/TAP5-2466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Felix Scheffer updated TAP5-2466:
---------------------------------
    Attachment: 0003-TAP5-2466-Include-tapestry-ioc-jcache-Construction-o.patch

Patch
* set the advice id (to "cache") to avoid warnings when there are multiple 
advise() methods in a project
* create MethodAdvices on-demand to avoid recursion issues

> Include tapestry-ioc-jcache => Construction of service 'AssetObjectProvider' 
> has failed due to recursion
> --------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-2466
>                 URL: https://issues.apache.org/jira/browse/TAP5-2466
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-ioc
>    Affects Versions: 5.4
>            Reporter: quurks
>              Labels: 54_release_prerequisite
>         Attachments: 
> 0003-TAP5-2466-Include-tapestry-ioc-jcache-Construction-o.patch, 
> jetty-output.txt
>
>
> Reproduce:
> Add tapestry-ioc-jcache to a tapestry project
> Expected: 
> Application still works
> Actual: 
> Application fails to start:
> Construction of service 'AssetObjectProvider' has failed due to recursion: 
> the service depends on itself in some way. Please check 
> org.apache.tapestry5.internal.services.AssetObjectProvider(AssetSource, 
> TypeCoercer, SymbolSource) (at AssetObjectProvider.java:45) via 
> org.apache.tapestry5.modules.TapestryModule.bind(ServiceBinder) (at 
> TapestryModule.java:311) for references to another service that is itself 
> dependent on service 'AssetObjectProvider'.
> Probably caused by @Match('*') in JCacheModule. Solution could be something 
> like 
> http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/Service-Advisors-recursive-problem-td5720755.html#a5720781



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to