Wicket
  1. Wicket
  2. WICKET-3937

Improve AJAX FunctionsExecutor robustness with try/catch

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.4.17, 1.5-RC5.1
    • Fix Version/s: 1.4.19, 1.5-RC6
    • Component/s: wicket
    • Labels:
      None

      Description

      The attached patch improves wicket-ajax.js by executing its "step" functions in a simple try/catch. This ensures that issues like WICKET-3820 don't fail catastrophically (leaving the channel busy).

      This poster might have had a similar failure.
      http://apache-wicket.1842946.n4.nabble.com/Re-Captcha-with-WiQuery-ButtonBehavior-causes-quot-Channel-busy-postponing-quot-td3679429.html

      1. wicket3937.patch
        0.6 kB
        Dan Retzlaff

        Activity

        Dan Retzlaff created issue -
        Dan Retzlaff made changes -
        Field Original Value New Value
        Attachment wicket3937.patch [ 12488163 ]
        Martin Grigorov made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Martin Grigorov [ mgrigorov ]
        Fix Version/s 1.4.19 [ 12317570 ]
        Fix Version/s 1.5-RC6 [ 12316657 ]
        Resolution Fixed [ 1 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        20d 17h 2m 1 Martin Grigorov 18/Aug/11 19:53

          People

          • Assignee:
            Martin Grigorov
            Reporter:
            Dan Retzlaff
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development