Closed
Bug 305252
Opened 19 years ago
Closed 6 months ago
tree bound to RDF/XML is not updated when 2nd instance is opened
Categories
(Core Graveyard :: RDF, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: storymonitor, Unassigned)
Details
Attachments
(1 file)
|
3.65 KB,
application/octet-stream
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050818 Firefox/1.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050818 Firefox/1.0+ I have created a tree element in a firefox extension's sidebar that is bound to an RDF/XML data source. The data source is stored on the local disk and accessed via a file:// url. When a resource is added to the RDF file using the XPCOM API and the changes flushed, the tree element updates to display the new item correctly. If you then open a new browser window that also has an instance of the sidebar open, it too correctly displays the existing content of the bound RDF/XML file. However, if you now add a resource to the RDF data source, it only appears in the tree in the 2nd window opened. The tree in the original no longer gets updates. If you then close the sidebar in the original window and re-open it, the application now starts functioning correctly - both the original and 2nd window receive updates. Reproducible: Always Steps to Reproduce: NOTE: The sample extension will only work on windows as it has a hardcoded c:\testfile.rdf as the filename but its trivial to change it in treescript.js to a unix path if necessary. 1. Install the sample extension in the attachment and restart firefox 2. Select View -> Sidebar -> Tree bug example from the menu 3. Click add item. Verify the item appears in the tree 4. Select File - > New Window and arrange the windows so you can see the sidebar in both 5. Click add item in either window. Verify the item only appears in the 2nd window 6. Close the sidebar in the original window and re-open it. 7. Click add item in either window. Verify the item appears in both windows I have tested this on Firefox 1.0.6 and the 20050818 nightly build of deerpark and get identical results.
| Reporter | ||
Comment 1•19 years ago
|
||
Updated•6 years ago
|
Product: Core → Core Graveyard
Status: UNCONFIRMED → RESOLVED
Closed: 6 months ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•