Closed Bug 50500 Opened 25 years ago Closed 2 years ago

event stops firing after XUL template rebuild

Categories

(Core Graveyard :: RDF, defect, P3)

SGI
All
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE
Future

People

(Reporter: myk, Unassigned)

Details

Attachments

(1 file)

2.77 KB, application/vnd.mozilla.xul+xml
Details
Overview Description: A "select" handler for a tree populated by a XUL template stops working after rebuilding the tree. If I add back the handler it works fine again. I have reduced this problem down to a minimal test case which I will attach. Steps Code Takes in Test Case: 1. Adds "select" handler to tree. 2. Loads a remote datasource with the RDF service's GetDataSource() method. Watches the progress of the load via nsIRDFXMLSink. 3. When datasource is loaded, adds it to the tree with database.AddDataSource() and rebuilds the tree with builder.rebuild(). Steps to Observe Problem in Test Case: 1. Click on the items in the tree. Notice that nothing happens. 2. Click on the "Add Select Handler" button to re-add the event to the tree. 3. Click on the items in the tree. Notice that an alert message appears. Actual Results: Select handler doesn't fire (no alert message). Expected Results: Select handler fires (alert message). Build Date & Platform Bug Found: All Windows and Linux nightly builds which I have tried from August 8 to present time (August 27).
Attached file test case
Status: NEW → ASSIGNED
Target Milestone: --- → Future
tever is not RDF QA anymore
QA Contact: tever → nobody
Attachment #13600 - Attachment mime type: text/xul → application/vnd.mozilla.xul+xml
waterson left the building
Assignee: waterson → nobody
Status: ASSIGNED → NEW
QA Contact: nobody → core.rdf
Product: Core → Core Graveyard
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: