Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1941

ValidationTracker retaining field values inconsistently

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.6
    • Fix Version/s: 5.0.8
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      When the @Persist annotation is not used at all, the ValidationTracker still retains values for the TextField component, but not for other components (like Checkbox, DateField, Select, etc.), when validation fails. Use of the t:validate attribute for these fields is necessary to reproduce this bug.

        Activity

        Hide
        hlship Howard M. Lewis Ship added a comment -

        So far I've fixed Select and Checkbox.

        All the TextFields get the necessary logic from AbstractTextField.

        DateField is mentioned in the bug description, but appears to have the necessary logic in place. Not sure what the discrepancy is there.

        Show
        hlship Howard M. Lewis Ship added a comment - So far I've fixed Select and Checkbox. All the TextFields get the necessary logic from AbstractTextField. DateField is mentioned in the bug description, but appears to have the necessary logic in place. Not sure what the discrepancy is there.
        Hide
        hlship Howard M. Lewis Ship added a comment -

        Ah, only half the necessary logic is in DateField.

        Show
        hlship Howard M. Lewis Ship added a comment - Ah, only half the necessary logic is in DateField.

          People

          • Assignee:
            hlship Howard M. Lewis Ship
            Reporter:
            jwiegman Joel Wiegman
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development