Tapestry
  1. Tapestry
  2. TAPESTRY-2438

ValidationException thrown from onValidateForm() should be recorded for the Form, but instead is treated as an unexpected error

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0.15
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows XP, Eclipse 3.3.2, Run-Jetty-Run, Java 1.6, Maven 2.0.9

      Description

      ValidationException thrown from onValidateForm() event results in the Tapestry exception page being shown, instead of causing the display of server-side validation.

      The current (and preferable) work around is to call form.recordError(field, message).

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        98d 20h 49m 1 Howard M. Lewis Ship 12/Sep/08 19:21
        In Progress In Progress Closed Closed
        1h 19m 1 Howard M. Lewis Ship 12/Sep/08 20:40
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12568918 ] jira [ 12591981 ]
        Mark Thomas made changes -
        Workflow jira [ 12432660 ] Default workflow, editable Closed status [ 12568918 ]
        Howard M. Lewis Ship made changes -
        Resolution Fixed [ 1 ]
        Status In Progress [ 3 ] Closed [ 6 ]
        Fix Version/s 5.0.15 [ 12313350 ]
        Howard M. Lewis Ship made changes -
        Summary ValidationException thrown from onValidateForm() goes uncaught. ValidationException thrown from onValidateForm() should be recorded for the Form, but instead is treated as an unexpected error
        Howard M. Lewis Ship made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Howard M. Lewis Ship made changes -
        Assignee Howard M. Lewis Ship [ hlship ]
        Howard M. Lewis Ship made changes -
        Field Original Value New Value
        Affects Version/s 5.0 [ 12312018 ]
        Daniel created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development