#4662 NORM Update.: DataStore looses metadata between reboots
Zarro Boogs per Child
bugtracker at laptop.org
Wed Nov 14 05:59:40 EST 2007
#4662: DataStore looses metadata between reboots
------------------------+---------------------------------------------------
Reporter: uwog | Owner: erikos
Type: defect | Status: new
Priority: normal | Milestone: Update.1
Component: datastore | Version:
Resolution: | Keywords:
Verified: 0 |
------------------------+---------------------------------------------------
Changes (by tomeu):
* cc: tomeu (added)
Comment:
Replying to [comment:10 marco]:
> Tomeu, what is going here?
Don't really know. I suspect of some error in the activity code.
> I thought you said custom metadata properties are not stored.
This code made me think that:
http://dev.laptop.org/git?p=projects/datastore;a=blob;f=src/olpc/datastore/xapianindex.py;h=06041aa5770554f9739c0ccaa726aae92d0ad65e;hb=HEAD#l369
But after reading more, I saw that this other code will add the properties
missing in the model to the secore config:
http://dev.laptop.org/git?p=projects/datastore;a=blob;f=src/olpc/datastore/xapianindex.py;h=06041aa5770554f9739c0ccaa726aae92d0ad65e;hb=HEAD#l310
> Does your test script contradict that?
Yeah, you can run it and one entry with the source property will be
created at every run. If you close sugar, restart and run it again, the
script will show you that the entries created earlier still have the
source property.
> Does the script restart the DS?
No, you need to manually restart the DS when you want to check if the
files still have the source property.
--
Ticket URL: <http://dev.laptop.org/ticket/4662#comment:11>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list