Ticket #2531037 (closed defect)
ReporterRichard Zurad |
Opened: 09/1/11 Last modified: 09/27/11 Status: closed Type: defect |
Owner Thomas S. Sha |
Target Release: 3.4.1 Priority: P3 (normal) |
|---|---|---|---|
| Summary: | io-base does not pass stringified data object to io-upload-iframe | ||
| Description: | When using io-form, io-upload-iframe, and querystring modules to upload a file, the _addData function of io-upload-iframe will throw a TypeError (object has no method 'split'). The root of the problem is in io-base's send function. If you look at the code below, you can see why
As you can see, when passing a data object into the config of io.send, it is converted to a string, but that string is not reattached to the config object before io.upload is called. upload assumes
It looks like this functionality was broken by commit 68b67a7ca77bd6e51a6d67602d38a4cceede1676 For reference, here is a partial stack trace: |
||
| Type: | defect | Observed in Version: | 3.4.0 |
| Component: | IO | Severity: | S2 (high) |
| Assigned To: | Thomas S. Sha | Target Release: | 3.4.1 |
| Location: | Library Code | Priority: | P3 (normal) |
| Tags: | Relates To: | ||
| Browsers: | All | ||
| URL: | |||
| Test Information: | |||
Change History
|
Posted: 09/1/11
|
|
Posted: 09/1/11
|
|
Posted: 09/2/11
|
|
Posted: 09/2/11
|
|
Posted: 09/2/11
Correction: Committed to master branch for review. |
|
Posted: 09/27/11
|
Jenny Donnelly
Committed to 3.4.0+ branch.