Closed
Bug 12554
Opened 26 years ago
Closed 26 years ago
[RDF, JS] Can't make changes to RDF datasource persistent in JS
Categories
(Core Graveyard :: RDF, defect, P3)
Core Graveyard
RDF
Tracking
(Not tracked)
VERIFIED
INVALID
People
(Reporter: tao, Assigned: waterson)
Details
How do I make my changes to RDF datasource persistent (serialize to
the .rdf)? I thought that datasource.Flush() would do it.
Does it work in JavaScript function? The console said "Flush()" is not a
function (instead of crashing) in my Aug-19-99 NT build.
Anyway, you can try it out by uncommenting the ds.Flush() line in
chrome/global/content/default/strres.js and clicking on
"QA| Languages|en-US".
| Assignee | ||
Updated•26 years ago
|
Summary: [RDF, JS] Can't make changes to RDF datasource persistent in JS → [RDF, JS] Can't make changes to RDF datasource persistent in JS
| Assignee | ||
Comment 1•26 years ago
|
||
Try it this way:
ds.QueryInterface(Components.interfaces.nsIRDFRemoteDataSource).Flush();
Yup, that does it! But, why would the flush() function live in the "remote"
data source?
| Assignee | ||
Comment 3•26 years ago
|
||
This thread eventually ends up discussing why we decided to do this:
news://news.mozilla.org/37616ECC.554F286E%40netscape.com
Tao, if this is working, can you INVALID the bug?
You own this bug; you need to INVLID it. But, I had changed the QA contact to
me so I can verify it.
Thanks
| Assignee | ||
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → INVALID
Updated•7 years ago
|
Product: Core → Core Graveyard
| Comment hidden (collapsed) |
You need to log in
before you can comment on or make changes to this bug.
Description
•