Wicket
  1. Wicket
  2. WICKET-3432

Windows XP/IE 8 Ajax File Upload Response Redirect Issue

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.4.12
    • Fix Version/s: None
    • Component/s: wicket-extensions
    • Labels:
    • Environment:
      Windows XP Pro SP3, IE 8.0.6001.18702

      Description

      When using MultiFileUploadField to upload a large file (400mb in my case, other tests may occur at lower/higher values), IE 8.0.6001.18702 on Win XP SP3 will not process the redirect generated by setResponsePage(...). Other OS/browser combos seem to work, including Win 7/IE 8, Win 7/FF, Win XP/IE 7, et al.

      I can see via Wireshark that the response is sent back to IE, but the browser never redirects and the ajax indicator just spins (see quickstart). This may be an IE issue, but if there's a Wicket/Javascript work-around, I would appreciate some research/assistance.

      Quick start attached.

        Activity

        Hide
        James added a comment -

        Same problem here, though happens down to file sizes as small as 1mb. IE7/8 is the only browser having the issue.

        Show
        James added a comment - Same problem here, though happens down to file sizes as small as 1mb. IE7/8 is the only browser having the issue.
        Hide
        Igor Vaynberg added a comment -

        closing since martin could not reproduce as well

        Show
        Igor Vaynberg added a comment - closing since martin could not reproduce as well
        Hide
        Igor Vaynberg added a comment -

        well, it might be that the ajax impl in the browser cannot handle it. maybe some internal timeout is too short, etc. who knows.

        Show
        Igor Vaynberg added a comment - well, it might be that the ajax impl in the browser cannot handle it. maybe some internal timeout is too short, etc. who knows.
        Hide
        John Owen added a comment -

        The browser can handle files up to ~2GB when not transmitted via Ajax. I'm concerned that this occurs for me here (at work), but not for you guys. I'm going to try the quickstart at home.

        Show
        John Owen added a comment - The browser can handle files up to ~2GB when not transmitted via Ajax. I'm concerned that this occurs for me here (at work), but not for you guys. I'm going to try the quickstart at home.
        Hide
        Igor Vaynberg added a comment -

        could it simply be that the browser chokes on files that large?

        Show
        Igor Vaynberg added a comment - could it simply be that the browser chokes on files that large?
        Hide
        Martin Grigorov added a comment -

        I'd recommend to use another ajax based upload JS library if this one makes you troubles.
        I personally wont debug uploads of ~gygabyte files. There is no fun in that

        Show
        Martin Grigorov added a comment - I'd recommend to use another ajax based upload JS library if this one makes you troubles. I personally wont debug uploads of ~gygabyte files. There is no fun in that
        Hide
        John Owen added a comment -

        Would it help if I made a VM available that shows the issue?

        Show
        John Owen added a comment - Would it help if I made a VM available that shows the issue?
        Hide
        Martin Grigorov added a comment -

        Again OK.

        Show
        Martin Grigorov added a comment - Again OK.
        Hide
        John Owen added a comment - - edited

        Martin, can you try sending 2 700mb files and let me know how it goes? Thanks!

        P.S.: The UI supports multiple files.

        Show
        John Owen added a comment - - edited Martin, can you try sending 2 700mb files and let me know how it goes? Thanks! P.S.: The UI supports multiple files.
        Hide
        Martin Grigorov added a comment -

        I just tried it on WinXP SP3 with IE8.0.6001.18702.
        First I tried with several ~10Mb files - all is OK, then I tried with ~300Mb - again OK,then I tried with 2.6Gb and here IE said JS error "Access denied for wicket-ajax.js" - whatever this means, but the file didn't upload at all.
        Now you said up to 2Gb so I tried with 700Mb and again it passed OK.

        Show
        Martin Grigorov added a comment - I just tried it on WinXP SP3 with IE8.0.6001.18702. First I tried with several ~10Mb files - all is OK, then I tried with ~300Mb - again OK,then I tried with 2.6Gb and here IE said JS error "Access denied for wicket-ajax.js" - whatever this means, but the file didn't upload at all. Now you said up to 2Gb so I tried with 700Mb and again it passed OK.
        Hide
        John Owen added a comment -

        For re-testing, please try file sizes up to 2GB. We've noticed internally that the size threshold for failure differs for each user/pc.

        Show
        John Owen added a comment - For re-testing, please try file sizes up to 2GB. We've noticed internally that the size threshold for failure differs for each user/pc.
        Hide
        Igor Vaynberg added a comment -

        reopening so someone else can test

        Show
        Igor Vaynberg added a comment - reopening so someone else can test
        Hide
        Igor Vaynberg added a comment -

        just over 700 megs i think.

        Show
        Igor Vaynberg added a comment - just over 700 megs i think.
        Hide
        John Owen added a comment -

        Igor: What size file did you use?

        Show
        John Owen added a comment - Igor: What size file did you use?
        Hide
        Igor Vaynberg added a comment -

        just tried it in xp sp3 inside virtualbox with latest ie8 and it worked...

        Show
        Igor Vaynberg added a comment - just tried it in xp sp3 inside virtualbox with latest ie8 and it worked...

          People

          • Assignee:
            Igor Vaynberg
            Reporter:
            John Owen
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development