Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-3937

Improve AJAX FunctionsExecutor robustness with try/catch

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: 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

        Attachments

        1. wicket3937.patch
          0.6 kB
          Dan Retzlaff

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: