uqlibrary/fez — pull request #5 by msammarco (2014-09-04 01:24:06+00:00)
Title: Removing exif entries when a datastream is purged or deleted

Looks like when the a datastream is purged or deleted the entry in the exif table still exists. This can cause an issue if a new datastream is renamed to the previous datastream name. Because of the unique key on the exif table this will cause an error. One solution is to explicitly make sure the remove function is called on purge and deletes of datastreams