Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3294

REGRESSION: 2.0.7->2.0.8: Facets lost after validation error POST-back

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0.8
    • Fix Version/s: 2.0.9, 2.1.3
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

        1. addressbook-faces2.war
          5.41 MB
          Kennard Consulting

          Activity

            People

            • Assignee:
              lu4242 Leonardo Uribe
              Reporter:
              kennardconsulting Kennard Consulting
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: