Details

      Description

      Wicket.Event.addDomReadyEvent is broken in IE since 1.5.1. I identified WICKET-4080 as the cause of the problem: onreadystatechange with readyState="loaded" is sometimes fired before the document is fully loaded, causing scripts that reference DOM nodes to fail.

      See http://msdn.microsoft.com/en-us/library/ms534359%28v=vs.85%29.aspx for the order of the readystate events.

      The attached quickstart reproduces the issue (you may need to F5 a few times as it does not happen reliably). The actual JS error is:

      SCRIPT5007: The property "onkeydown" has no value: The object is null or undefined
      wicket-autocomplete-ver-1317728550188.js, Line 91 Character 9

      1. wicket-qs-domready.zip
        22 kB
        Matthias Piepkorn

        Issue Links

          Activity

          Matthias Piepkorn created issue -
          Matthias Piepkorn made changes -
          Field Original Value New Value
          Attachment wicket-qs-domready.zip [ 12497958 ]
          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.2 [ 12318078 ]
          Resolution Fixed [ 1 ]
          Martin Grigorov made changes -
          Link This issue is duplicated by WICKET-4157 [ WICKET-4157 ]
          Martin Grigorov made changes -
          Link This issue is broken by WICKET-4080 [ WICKET-4080 ]

            People

            • Assignee:
              Martin Grigorov
              Reporter:
              Matthias Piepkorn
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development