Ticket #1169 (closed defect: fixed)

Opened 2 years ago

Last modified 18 months ago

The dojo.io upload using the formNode with a return type of "text/xml" doesn't send the request...

Reported by: mark.basler@… Owned by: jburke
Priority: normal Milestone:
Component: IO Version: 0.3
Severity: normal Keywords:
Cc: mark.basler@…

Description

In version 0.3.1 the dojo.io.bind upload using the formNode property with a return type of "text/xml" doesn't send the request from the browser for either firefox 1.5.0.5 or ie 6.0.29. It works for "text/javascript" and "text/plain".

This can be reproduced by using the http://archive.dojotoolkit.org/nightly/tests/io/test_IframeIO.html example and just change the mimetype from "text/javascript" to "text/xml". I used Live HTTP headers to verify this fact.

Attachments

test2.jsp (1.3 kB) - added by mark.basler@… 2 years ago.
Altered example to show reproducible test case

Change History

Changed 2 years ago by mark.basler@…

Altered example to show reproducible test case

Changed 2 years ago by jburke

  • cc mark.basler@… added

IframeIO does not support a text/xml return type because there is no good cross-browser way to get the XML document out from an iframe. There is a note about text/xml not being supported in this page:

http://manual.dojotoolkit.org/WikiHome/DojoDotBook/Book24

Perhaps though, what we should fix is how to detect that dojo.io.bind() cannot fulfill the request (right now it will just silently not call IframeTransport?'s bind() method, and just return the dojo.io.Request object). It would be good to at least let the caller know that the bind request is not going to happen.

Changed 2 years ago by dylan

  • priority changed from high to normal
  • version changed from 0.2 to 0.3
  • milestone set to 0.4

Changed 2 years ago by jburke

  • owner changed from alex to jburke

Stealing io and package bugs from Alex. Holler if you want it back.

Changed 2 years ago by jburke

  • status changed from new to closed
  • resolution set to fixed

(In [5931]) Fixes #1169: now if a transport for a dojo.io.bind() request cannot handle the request, the error callback is called.

Changed 2 years ago by jburke

(In [5932]) References #1169. Tweak for it to work in IE.

Changed 18 months ago by anonymous

  • milestone deleted

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.