Closed
Bug 338933
Opened 19 years ago
Closed 19 years ago
external instance not restored (on xforms-reset) after replace=instance
Categories
(Core Graveyard :: XForms, defect)
Core Graveyard
XForms
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: allan, Assigned: allan)
References
()
Details
(Keywords: fixed1.8.0.5, fixed1.8.1)
Attachments
(2 files)
We seem to have problems with restoring external instances (via xforms-reset), when they are external and they have been replaced via submission.
http://groups.google.com/group/mozilla.dev.tech.xforms/browse_frm/thread/abc88b273a0ef9a2/8a0b054c2966476e#8a0b054c2966476e
Assignee | ||
Comment 1•19 years ago
|
||
This warning is printed:
WARNING: failed to restore original instance document: 'NS_SUCCEEDED(rv)', file nsXFormsInstanceElement.cpp, line 385
Comment 2•19 years ago
|
||
Hmm, should there be importNode, not cloneNode. At least in trunk.
Assignee | ||
Comment 3•19 years ago
|
||
Here's a testcase, but with external instances, etc. it needs to be fiddled with to get working. But it should show "the concept".
Assignee | ||
Comment 4•19 years ago
|
||
Just clone the original document and set it as the instance document.
I see no reason for trying to retain the original document element, as we replace that on submissions, etc. anyway.
Updated•19 years ago
|
Attachment #223029 -
Flags: review?(doronr) → review+
Assignee | ||
Updated•19 years ago
|
Attachment #223029 -
Flags: review?(Olli.Pettay)
Updated•19 years ago
|
Attachment #223029 -
Flags: review?(Olli.Pettay) → review+
Assignee | ||
Comment 5•19 years ago
|
||
Fixed on trunk
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Whiteboard: xf-to-branch
Assignee | ||
Updated•19 years ago
|
Keywords: fixed1.8.1
Assignee | ||
Updated•19 years ago
|
Keywords: fixed1.8.0.5
Assignee | ||
Updated•19 years ago
|
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
•