Antgar created MYFACES-4267:
-------------------------------

             Summary: transient attribute is not inherited from template to 
final page.
                 Key: MYFACES-4267
                 URL: https://issues.apache.org/jira/browse/MYFACES-4267
             Project: MyFaces Core
          Issue Type: Bug
          Components: Extension Feature
    Affects Versions: 2.3.2
            Reporter: Antgar


After upgrading from Myfaces 2.2 to 2.3, templated transient views stop to 
work, raising "unable to create views" exceptions.
Transient attribute of a template seems not to be inherited by the final page 
correctly. With myfaces 2.2 it worked correctly, but in 2.3, there is a new 
check view.isTransient() on FaceletViewDeclarationLanguage line 2128. On page 
restoring, transient appears as false.

A workaround is to set transient="true" on the final page too. Other option is 
to use a block <f:metadata><f:view transient="true" /></f:metadata> on the 
final page (f:metadata doc says it shouldn't be used in templates).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to