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

AjaxSelfUpdatingTimerBehavior in hidden component in ModalWindow causes Ajax Response Error

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.3.0, 6.6.0
    • Fix Version/s: 6.7.0
    • Component/s: None
    • Labels:
      None

      Description

      I have a ModalWindow which shows a panel with a hidden label with an AjaxSelfUpdatingTimerBehavior. When the modal window is shown, the following error occurs in the Wicket Ajax Debug console:

      ERROR: Wicket.Ajax.Call.processEvaluation: Exception evaluating javascript: TypeError: Cannot read property 'label5' of undefined, text: (function()

      {clearTimeout(Wicket.TimerHandles['label5']); delete Wicket.TimerHandles['label5'];}

      )();

        Attachments

        1. 5104.zip
          26 kB
          Marios Skounakis
        2. fix-WICKET-5104.patch
          0.9 kB
          Cedric Gatay

          Issue Links

            Activity

              People

              • Assignee:
                mgrigorov Martin Grigorov
                Reporter:
                mscoon Marios Skounakis
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: