Tapestry
  1. Tapestry
  2. TAPESTRY-2641

FormSupport.defer() javadoc says defered actions will be executed after validation, but it's executed before

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0.15
    • Component/s: None
    • Labels:
      None

      Description

      According to the documentation on FormSupport.defer:
      "Defers a command until the end of the form submission. The command will be executed after the Form's validate notification, but before the Form's submit, success or failure notifications."

      However, due to the fix for TAPESTRY-2549, the documentation is out of date: the commands are now executed just before the Form's validation event is fired.

      The documentation should be updated to reflect the new ordering.

        Activity

        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12568813 ] jira [ 12591846 ]
        Mark Thomas made changes -
        Workflow jira [ 12441441 ] Default workflow, editable Closed status [ 12568813 ]
        Howard M. Lewis Ship made changes -
        Fix Version/s 5.0.15 [ 12313350 ]
        Resolution Fixed [ 1 ]
        Status In Progress [ 3 ] Closed [ 6 ]
        Howard M. Lewis Ship made changes -
        Summary FormSupport.defer documentation says defered actions will be executed after validation, but it's executed before. FormSupport.defer() javadoc says defered actions will be executed after validation, but it's executed before
        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 ]
        Robert Zeigler created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development