DWR

No such property Javascript exception using FileTransfer in engine.js in IE7.

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: 3.0.M1
  • Fix Version/s: 3.0.M1
  • Component/s: None
  • Description:
    Hide
    I am making a call to my Java remove object from JS using the new multipart argument support. One of the args is a FileTransfer which works great and can be accessed on the server side just fine. However, before my callback function is called in the IE7 browser, a JS error happens in line 1303 of ennine.js:

    if (batch.iframe) {
        batch.iframe.parentNode.removeChild(batch.iframe);
    }

    It does not look to me like parentNode is not defined for the iframe in IE7 somehow.

    Show
    I am making a call to my Java remove object from JS using the new multipart argument support. One of the args is a FileTransfer which works great and can be accessed on the server side just fine. However, before my callback function is called in the IE7 browser, a JS error happens in line 1303 of ennine.js: if (batch.iframe) {     batch.iframe.parentNode.removeChild(batch.iframe); } It does not look to me like parentNode is not defined for the iframe in IE7 somehow.

Activity

Hide
Mikhail Khodorovskiy added a comment - 09/Feb/08 12:35 AM

Actually, I have just figured out that I was passing an empty string for the callback method name (screwed up a number of arguments) and it works just fine. You can close the bug I suppose.

Show
Mikhail Khodorovskiy added a comment - 09/Feb/08 12:35 AM Actually, I have just figured out that I was passing an empty string for the callback method name (screwed up a number of arguments) and it works just fine. You can close the bug I suppose.
Hide
Joe Walker added a comment - 09/Feb/08 8:38 AM

Thanks for the update

Show
Joe Walker added a comment - 09/Feb/08 8:38 AM Thanks for the update

People

Dates

  • Created:
    09/Feb/08 12:22 AM
    Updated:
    20/Feb/08 9:23 AM
    Resolved:
    09/Feb/08 8:38 AM