Closed Bug 361814 Opened 18 years ago Closed 18 years ago

NS_ERROR_DOM_WRONG_DOCUMENT_ERR in select1.xml

Categories

(Core Graveyard :: XForms, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bkc, Assigned: surkov)

References

Details

(Keywords: fixed1.8.0.12, fixed1.8.1.4)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20061124 Minefield/3.0a1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20061124 Minefield/3.0a1

With this nightly, I am getting this error:

Node cannot be used in a document other than the one in which it was created" code: "4" nsresult: "0x80530004 (NS_ERROR_DOM_WRONG_DOCUMENT_ERR)" location: "chrome://xforms/content/select1.xml Line: 1111

I also noticed that one of my custom controls stopped working with the nightly. The fix I implemented makes me think that xforms is now using a distinct document for instance data. Maybe that's why select1 is breaking now.

Reproducible: Always

Steps to Reproduce:
1.Load a form with a select1 element
2.Navigate to the select1 and choose a different value than the currently selected value
3. get the error

Actual Results:  
The selected value appears to change, however it seems that the instance data does not change. That is, the value is not set back into the instance.

Expected Results:  
The instance data should also change, and an error should not be generated.

might be an artifact of this particular nightly build.
Blocks: 47903
Attached patch patchSplinter Review
Assignee: xforms → surkov.alexander
Status: UNCONFIRMED → ASSIGNED
Attachment #246597 - Flags: review?(aaronr)
OS: Windows XP → All
Hardware: PC → All
Attachment #246597 - Flags: review?(doronr)
Attachment #246597 - Flags: review?(doronr) → review+
Attachment #246597 - Flags: review?(aaronr) → review+
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Whiteboard: xf-to-branch
checked into 1.8 branch on 2007-04-12
checked into 1.8.0 branch on 2007-04-16
Whiteboard: xf-to-branch
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: