myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Andraschko (JIRA)" <>
Subject [jira] [Commented] (MYFACES-4267) transient attribute is not inherited from template to final page.
Date Mon, 26 Nov 2018 13:31:00 GMT


Thomas Andraschko commented on MYFACES-4267:

Added a unittest but can't replicate it: [;a=commit;h=a42428f63dc9e7797ae163e8aecfcd9fdb6153b1]

Could you please modifiy the test, so it fails?
Or could you provide a test project? (you may simple fork []
and run via "*mvn clean package jetty:run-exploded* -Pmyfaces23"

Otherwise i have to close it as "can't reproduce"

> transient attribute is not inherited from template to final page.
> -----------------------------------------------------------------
>                 Key: MYFACES-4267
>                 URL:
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: Extension Feature
>    Affects Versions: 2.3.2
>            Reporter: Antgar
>            Priority: Critical
>             Fix For: 2.3.3, 3.0.0-SNAPSHOT
> After upgrading from Myfaces 2.2 to 2.3, templated transient views stop to work, raising
"unable to create views" exceptions.
> f:view transient attribute defined in 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Ā 
> {code:java}
> if (!view.isTransient()) ...
> {code}
> on FaceletViewDeclarationLanguage line 2128. On page restoring, transient appears as
> A workaround is to set transient="true" on the final page too. Other option is to use
a blockĀ 
> {code:java}
> <f:metadata><f:view transient="true" /></f:metadata>
> {code}
> on the final page (f:metadata doc says it shouldn't be used in templates).

This message was sent by Atlassian JIRA

View raw message