[
https://issues.apache.org/jira/browse/MYFACES-2375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12764500#action_12764500
]
Jakob Korherr commented on MYFACES-2375:
----------------------------------------
Should cyclic references be detected, or not?
Scenario: Managed bean m1 has a custom scope #{m2.scope} and managed bean m2
has a custom scope #{m1.scope}.
In this scenario you will get a StackOverflowException when trying to create
one of the two managed beans.
RI really ends in a StackOverflowException, should MyFaces end in such a
Exception too or detect the cyclic reference and throw a ELException?
> <managed-bean-scope> could also be an EL expression, to allow easy
> implementation of new scopes
> -----------------------------------------------------------------------------------------------
>
> Key: MYFACES-2375
> URL: https://issues.apache.org/jira/browse/MYFACES-2375
> Project: MyFaces Core
> Issue Type: Task
> Components: JSR-314
> Reporter: Leonardo Uribe
>
> See jsf 2.0 spec section 5.3
> It seems we need to parse the string returned from
> managedBean.getManagedBeanScope(), but fortunately this problem is already
> solved in facelets (see TagAttributeImpl and
> org.apache.myfaces.view.facelets.el.ELText)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.