Last Comment Bug 361814 - NS_ERROR_DOM_WRONG_DOCUMENT_ERR in select1.xml
: fixed1.8.0.12, fixed1.8.1.4
Product: Core Graveyard
Classification: Graveyard
Component: XForms (show other bugs)
: Trunk
: All All
-- normal (vote)
: ---
Assigned To: alexander :surkov
: Stephen Pride
Depends on:
Blocks: 47903
  Show dependency treegraph
Reported: 2006-11-25 08:46 PST by Brad Clements
Modified: 2016-07-15 14:46 PDT (History)
5 users (show)
See Also:
QA Whiteboard:
Iteration: ---
Points: ---

patch (4.39 KB, patch)
2006-11-25 23:41 PST, alexander :surkov
bugs: review+
doronr: review+
Details | Diff | Splinter Review

Description User image Brad Clements 2006-11-25 08:46:55 PST
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.
Comment 1 User image alexander :surkov 2006-11-25 23:41:33 PST
Created attachment 246597 [details] [diff] [review]
Comment 2 User image Olli Pettay [:smaug] (pto-ish for couple of days) 2006-11-29 00:59:35 PST
Checked in
Comment 3 User image aaronr 2007-04-23 15:47:17 PDT
checked into 1.8 branch on 2007-04-12
checked into 1.8.0 branch on 2007-04-16

Note You need to log in before you can comment on or make changes to this bug.