NS_ERROR_DOM_WRONG_DOCUMENT_ERR in select1.xml

RESOLVED FIXED

Status

Core Graveyard
XForms
RESOLVED FIXED
11 years ago
a year ago

People

(Reporter: Brad Clements, Assigned: surkov)

Tracking

({fixed1.8.0.12, fixed1.8.1.4})

Trunk
fixed1.8.0.12, fixed1.8.1.4

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

4.39 KB, patch
smaug
: review+
Doron Rosenberg (IBM)
: review+
Details | Diff | Splinter Review
(Reporter)

Description

11 years ago
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
(Assignee)

Comment 1

11 years ago
Created attachment 246597 [details] [diff] [review]
patch
Assignee: xforms → surkov.alexander
Status: UNCONFIRMED → ASSIGNED
Attachment #246597 - Flags: review?(aaronr)
(Assignee)

Updated

11 years ago
OS: Windows XP → All
Hardware: PC → All
(Assignee)

Updated

11 years ago
Attachment #246597 - Flags: review?(doronr)

Updated

11 years ago
Attachment #246597 - Flags: review?(doronr) → review+

Updated

11 years ago
Attachment #246597 - Flags: review?(aaronr) → review+

Comment 2

11 years ago
Checked in
(Assignee)

Updated

11 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → FIXED
Whiteboard: xf-to-branch

Comment 3

11 years ago
checked into 1.8 branch on 2007-04-12
checked into 1.8.0 branch on 2007-04-16
Keywords: fixed1.8.0.12, fixed1.8.1.4
Whiteboard: xf-to-branch
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.