Bug #3522
Delete images from plankton
Status: | Closed | Start date: | 04/01/2013 | |
---|---|---|---|---|
Priority: | Medium | Due date: | ||
Assignee: | Christos Stavrakakis | % Done: | 100% |
|
Category: | - | Spent time: | - | |
Target version: | 0.14.0 |
Description
Currenty, deleting an Image from plankton results in deletion of the Image
from Pithos.
Fix: Do not delete the Image from Pithos. Instead, just remove all the metadata
from domain 'plankton'.
Related issues
Associated revisions
Delete Image without deleting file from Pithos
Until now, deleting an image resulted in deletion of the corresponding
file from Pithos. Plankton Images are files in Pithos with special
metadata on the 'plankton' metadata domain. Adding an Image to plankton
is equivalent with adding some special metadata in this domain. In the
same way, this commit implements Image deletion by deleting these
metadata, and retaining the original file in Pithos.
Refs #3522
plankton: Correct image unregister
Correct usage of 'update_object_meta' function to remove all metadata
from plankton domain. Use an empty dictionary with replace=True.
Refs #3522
History
#1 Updated by Christos Stavrakakis about 10 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
#2 Updated by Christos Stavrakakis over 9 years ago
- Status changed from Feedback to Closed