Wicket
  1. Wicket
  2. WICKET-1788

"Invalid procedure call or argument" on AJAX call with IE7

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.4
    • Fix Version/s: 1.3.5, 1.4-RC1
    • Component/s: wicket
    • Labels:
      None
    • Environment:
      Windows XPsp2, IE7

      Description

      I have a Button that shows a JS alert and then executes an AJAX call.
      It works fine under Firefox 2, but fails under IE7.. The alert appears, I click "ok" and then I get the "Initiating Ajax GET request..." inside "WICKET AJAX DEBUG", but it doesn't reach my serverside handler.
      After clicking "ok", in the bottom-left corner of the window appears a javascript error: "Invalid procedure call or argument", line 849, code 0.

      Original discussion: http://www.nabble.com/Button-with-confirmation-with-IE7-td18944137.html

      I'll add a quickstart and a patch in a moment.

      1. invalidprocedurecall_ie7.patch2
        1 kB
        Federico Fanton
      2. invalidprocedurecall_ie7.patch
        0.8 kB
        Federico Fanton
      3. invalidprocedure_quickstart.tgz
        10 kB
        Federico Fanton

        Activity

        Federico Fanton created issue -
        Hide
        Federico Fanton added a comment -

        Quickstart (Eclipse project )

        Show
        Federico Fanton added a comment - Quickstart (Eclipse project )
        Federico Fanton made changes -
        Field Original Value New Value
        Attachment invalidprocedure_quickstart.tgz [ 12388159 ]
        Hide
        Federico Fanton added a comment -

        Patch tested with Firefox 2 and IE7

        Show
        Federico Fanton added a comment - Patch tested with Firefox 2 and IE7
        Federico Fanton made changes -
        Attachment invalidprocedurecall_ie7.patch [ 12388160 ]
        Igor Vaynberg made changes -
        Assignee Matej Knopp [ knopp ]
        Hide
        Federico Fanton added a comment -

        Forgot to mention: could be the same problem as https://issues.apache.org/jira/browse/WICKET-1585

        Show
        Federico Fanton added a comment - Forgot to mention: could be the same problem as https://issues.apache.org/jira/browse/WICKET-1585
        Hide
        Federico Fanton added a comment -

        Sorry, the check for lastFocusId "null-ness" is required on Ajax POST too, not just Ajax GET

        Show
        Federico Fanton added a comment - Sorry, the check for lastFocusId "null-ness" is required on Ajax POST too, not just Ajax GET
        Federico Fanton made changes -
        Attachment invalidprocedurecall_ie7.patch2 [ 12388423 ]
        Hide
        Matej Knopp added a comment - - edited

        Committed to trunk and 1.3 branch.

        Show
        Matej Knopp added a comment - - edited Committed to trunk and 1.3 branch.
        Martijn Dashorst made changes -
        Fix Version/s 1.4-M4 [ 12313295 ]
        Fix Version/s 1.3.5 [ 12313175 ]
        Hide
        Matej Knopp added a comment -

        should be fixed

        Show
        Matej Knopp added a comment - should be fixed
        Matej Knopp made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]

          People

          • Assignee:
            Matej Knopp
            Reporter:
            Federico Fanton
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development