[
https://issues.apache.org/jira/browse/CAY-2108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrus Adamchik closed CAY-2108.
--------------------------------
Resolution: Fixed
Fix Version/s: 4.0.M4
> cayenne-di: StackOverflow for decorator that takes Provider of the delegate
> ---------------------------------------------------------------------------
>
> Key: CAY-2108
> URL: https://issues.apache.org/jira/browse/CAY-2108
> Project: Cayenne
> Issue Type: Bug
> Reporter: Andrus Adamchik
> Fix For: 4.0.M4
>
>
> If decorator injects the delegate directly, everything works. If it injects
> Provider of the decorator, we end up in a stack overflow situation, as the
> provider is for the decorator itself. This prevents us from creating lazy
> init decorators.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)