#10741 NORM 11.2.0-: renaming a photo in Record corrupts it

Zarro Boogs per Child bugtracker at laptop.org
Thu Mar 10 16:10:25 EST 2011


#10741: renaming a photo in Record corrupts it
-----------------------------+----------------------------------------------
 Reporter:  dsd              |                 Owner:  erikos       
     Type:  defect           |                Status:  new          
 Priority:  normal           |             Milestone:  11.2.0-M4    
Component:  sugar-datastore  |               Version:  not specified
 Keywords:                   |           Next_action:  review       
 Verified:  0                |   Deployment_affected:               
Blockedby:                   |              Blocking:               
-----------------------------+----------------------------------------------
 See the sugar-devel mail "Bug or feature? metadata update truncates
 datastore entry"

 If you take a photo in record, close the activity, resume the activity,
 then give the photo a new name, the photo will be lost due to a datastore
 bug.

 Sascha Silbe worked on this bug a bit but its not clear if he finished.

 {{{
 [PATCH sugar-datastore 1/3] Add regression test for SL#2668
 [PATCH sugar-datastore 2/3] Make sure data store checkouts are read-only
 [PATCH sugar-datastore 3/3] don't destroy unchanged data store entries
 (SL#2668)
 [PATCH sugar-toolkit] sugar.datastore.datastore: Avoid data update if the
 file hasn't been changed
 [PATCH sugar-datastore] Avoid recalculating checksum on metadata-only
 update
 }}}

-- 
Ticket URL: <http://dev.laptop.org/ticket/10741>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list