#5707 BLOC Update.: Previews are not deleted when their matching datastore objects are removed
Zarro Boogs per Child
bugtracker at laptop.org
Mon Dec 31 14:33:29 EST 2007
#5707: Previews are not deleted when their matching datastore objects are removed
------------------------+---------------------------------------------------
Reporter: Phil | Owner: tomeu
Type: defect | Status: new
Priority: blocker | Milestone: Update.1
Component: datastore | Version: Build 650
Resolution: | Keywords:
Verified: 0 | Blocking:
Blockedby: |
------------------------+---------------------------------------------------
Comment(by Phil):
I've started on a script to clean up extraneous entries, except that it
doesn't work.
The reason it doesn't work is that there are preview images in the
datastore for objects that have no matching file in the datastore itself.
I assume that's because they are solely database entries, with no matching
saved file.
That's a shame, as it means this program would have to dig into that
database to determine just what it can and cannot purge.
For safety reasons, I'm not attaching the script to this bug entry, but it
can be found at [http://dev.laptop.org/git/users/phil/support-scripts/]
along with other stuff I've written. It's 'purge-journal', and by default
won't do anything; you have to '--force' it to run.
This is obviously a stopgap until the actual bug is fixed, and since it
doesn't behave properly it's a poor stopgap, but it might be a start for
something else.
--
Ticket URL: <http://dev.laptop.org/ticket/5707#comment:3>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list