You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2011/08/29 18:28:37 UTC

[jira] [Commented] (MYFACES-3294) REGRESSION: 2.0.7->2.0.8: Facets lost after validation error POST-back

    [ https://issues.apache.org/jira/browse/MYFACES-3294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13092960#comment-13092960 ] 

Leonardo Uribe commented on MYFACES-3294:
-----------------------------------------

I have tested it and the bug was introduced solving MYFACES-3257.

If you set this param:

      <context-param>
        <param-name>org.apache.myfaces.SAVE_STATE_WITH_VISIT_TREE_ON_PSS</param-name>
        <param-value>false</param-value>
      </context-param>

The example will work as expected. Anyway, we need to fix the algorithm that use visitTree.

> REGRESSION: 2.0.7->2.0.8: Facets lost after validation error POST-back
> ----------------------------------------------------------------------
>
>                 Key: MYFACES-3294
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3294
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.0.8
>            Reporter: Kennard Consulting
>            Priority: Blocker
>         Attachments: addressbook-faces2.war
>
>
> Hi guys,
> As per Martin's request on MYFACES-3293, and possibly related to MYFACES-3117, there appears to have been a regression in state saving between 2.0.7 -> 2.0.8. To reproduce:
> 1. Deploy the attached WAR
> 2. Click 'Add Personal Contact'
> 3. Click 'Save' (without entering any values, therefore getting a validation error)
> 4. Upon validation error, note CSS styles have disappeared from many parts of the XHTML! In particular around the table and buttons
> 5. Switch the 2.0.8 JARs for 2.0.7, and it works fine
> My renderer uses facets to determine the CSS styles. This incorrect behaviour is new to 2.0.8.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira