Created an attachment (id=407108)
fix type of newVersion property...
ok newVersion was just a string while setItemProperty/setProperty requires a nsIRDFResource ... this patch fixes it by using EM_R("newVersion")
That said I noticed that setItemProperty assumes a nsIRDFResource as "property", while getItemProperty seems to EM_R "property" all the time. Might be worth looking into making the behaviour more consistent.
Created an attachment (id=407108)
fix type of newVersion property...
ok newVersion was just a string while setItemProperty /setProperty requires a nsIRDFResource ... this patch fixes it by using EM_R("newVersion")
That said I noticed that setItemProperty assumes a nsIRDFResource as "property", while getItemProperty seems to EM_R "property" all the time. Might be worth looking into making the behaviour more consistent.