Tapestry
  1. Tapestry
  2. TAPESTRY-2459

Submit components fires its event after "validateform" event, should be before (this is a change from prior releases)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 5.0.13
    • Fix Version/s: 5.0.14
    • Component/s: tapestry-core
    • Labels:
      None
    • Environment:
      Every

      Description

      The order (timing) of the selected event fired by the Submit
      components has changed.
      It fires after the validateform event.
      The old behavior was the opposite as stated in the documentation of
      the component.

      This seems caused by TAPESTRY-2311.

      For replicating the error simply put a submit component inside a form
      which has both the onValidateForm and onSuccess event handler methods
      and you'll see the onSelected event handler method called after the
      onValidateForm but before the onSuccess.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        4d 25m 1 Howard M. Lewis Ship 20/Jun/08 22:26
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12569334 ] jira [ 12590593 ]
        Mark Thomas made changes -
        Workflow jira [ 12433404 ] Default workflow, editable Closed status [ 12569334 ]
        Howard M. Lewis Ship made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Fix Version/s 5.0.14 [ 12313214 ]
        Howard M. Lewis Ship made changes -
        Field Original Value New Value
        Assignee Howard M. Lewis Ship [ hlship ]
        Summary Regression / Breakage of the Submit's component event mechanism Submit components fires its event after "validateform" event, should be before (this is a change from prior releases)
        Massimo Lusetti created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development