#927: BibUpload rollback support for bibdocfile
--------------------+---------------------------
Reporter: skaplun | Owner:
Type: task | Status: new
Priority: major | Component: BibUpload
Version: | Keywords: undo rollback
--------------------+---------------------------
Currently, when an un-handled exception happens while parsing metadata in
BibUpload, the original metadata are restored. The same does not happen
for file manipulated via FFT, i.e. in bibdocfile.
In case of error (say the disk space is finished - see also #926), the
files might have been partially modified.
A snapshot of the file table structure for the record being modified and
the corresponding directories on disk should be taken, right before
modifying the record, so that the record can be fully restored in case of
exception.
--
Ticket URL: <http://invenio-software.org/ticket/927>
Invenio <http://invenio-software.org>