wrong referenced scope test for managed beans with scope 'none'
---------------------------------------------------------------
Key: MYFACES-2001
URL: https://issues.apache.org/jira/browse/MYFACES-2001
Project: MyFaces Core
Issue Type: Bug
Components: General
Affects Versions: 1.2.4, 1.2.3, 1.2.2, 1.2.0, 1.1.6, 1.1.5
Reporter: Paul Pogonyshev
I get the following exception:
Property space references object in a scope with shorter lifetime than the
target scope none
for a managed bean with scope 'none'. It sets a property to a bean in request
scope. However, request scope lifetime should not be viewed as 'shorter' than
'none'. This is observed on 1.1.5, but quick check suggests that relevant
source code part is the same in SVN trunk.
As I see, check in isInValidScope() is incorrect for cases when targetScope is
null or 'none'. In this case it should always return true regardless of
valueScope.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.