Tapestry
  1. Tapestry
  2. TAPESTRY-1941

ValidationTracker retaining field values inconsistently

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        50d 6h 1 Howard M. Lewis Ship 18/Jan/08 22:17
        In Progress In Progress Closed Closed
        2h 10m 1 Howard M. Lewis Ship 19/Jan/08 00:27
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12567715 ] jira [ 12590845 ]
        Mark Thomas made changes -
        Workflow jira [ 12418184 ] Default workflow, editable Closed status [ 12567715 ]
        Howard M. Lewis Ship made changes -
        Status In Progress [ 3 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Fix Version/s 5.0.8 [ 12312898 ]
        Hide
        Howard M. Lewis Ship added a comment -

        Ah, only half the necessary logic is in DateField.

        Show
        Howard M. Lewis Ship added a comment - Ah, only half the necessary logic is in DateField.
        Hide
        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
        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.
        Howard M. Lewis Ship made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Howard M. Lewis Ship made changes -
        Field Original Value New Value
        Assignee Howard M. Lewis Ship [ hlship ]
        Joel Wiegman created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development