Closed
Bug 385857
Opened 17 years ago
Closed 17 years ago
multipart/form-data submission broken on 0.8
Categories
(Core Graveyard :: XForms, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: aaronr, Assigned: aaronr)
References
()
Details
(Keywords: fixed1.8.1.5)
Attachments
(2 files)
2.21 KB,
patch
|
smaug
:
review+
doronr
:
review+
|
Details | Diff | Splinter Review |
3.01 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
Looks like there is a bug on the 1.8 branch that prevents the patch that fixed multipart/form-data on the trunk from working on the branch. When we go to set the nsXFormsAtoms::uploadFileProperty on the clone of the instance data node that originally contained it, it is failing to work correctly. By that point we've already done the ImportNode, but not the AppendChild. ImportNode should set up the owner document for the cloned node to be the submission document, but that doesn't seem to be the case since the owner document before appendchild and after are different.
So to work around this 1.8 bug we'll just set the property AFTER we've done the call to AppendChild.
Testcase: https://bugzilla.mozilla.org/attachment.cgi?id=247929
Attachment #269786 -
Flags: review?(Olli.Pettay)
Attachment #269786 -
Flags: review?(doronr)
Updated•17 years ago
|
Attachment #269786 -
Flags: review?(Olli.Pettay) → review+
Updated•17 years ago
|
Attachment #269786 -
Flags: review?(doronr) → review+
checked into trunk
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Whiteboard: xf-to-branch
Reopening bug. I didn't move the statement high enough to fix uploads bound to attributes.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
just asking for one review. It is a pretty minor change, more of a correction of the first change. But I don't want to be accused of breaking the rules :-)
Attachment #270088 -
Flags: review?(Olli.Pettay)
Updated•17 years ago
|
Attachment #270088 -
Flags: review?(Olli.Pettay) → review+
checked patch2 into trunk and patches 1 and 2 into 1.8 branch.
Status: REOPENED → RESOLVED
Closed: 17 years ago → 17 years ago
Keywords: fixed1.8.1.5
Resolution: --- → FIXED
Whiteboard: xf-to-branch
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•