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

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

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


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

        

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

Posted by "Kennard Consulting (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-3294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13093206#comment-13093206 ] 

Kennard Consulting commented on MYFACES-3294:
---------------------------------------------

Leonardo,

I never cease to be impressed by your prompt responses and resolutions. It has been such a pleasure reporting bugs to you over the past few months, knowing they will always be processed quickly and with gratitude. Thanks for your support.

Regards,

Richard.

> 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
>            Assignee: Leonardo Uribe
>            Priority: Blocker
>             Fix For: 2.0.9, 2.1.3
>
>         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

        

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

Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/MYFACES-3294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leonardo Uribe resolved MYFACES-3294.
-------------------------------------

    Resolution: Fixed
      Assignee: Leonardo Uribe

Unfortunately we have a bug that prevents all components that are partial to be saved correctly. It is a typo error, but unfortunately it makes this part does not work correctly.

> 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
>            Assignee: Leonardo Uribe
>            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

        

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

Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-3294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13093109#comment-13093109 ] 

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

Thanks for report this issue

> 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
>            Assignee: Leonardo Uribe
>            Priority: Blocker
>             Fix For: 2.0.9, 2.1.3
>
>         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

        

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

Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
    [ 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