#814: Bibdocfile versioning - don't upload same file twice --------------------+------------------------- Reporter: Maddog | Type: enhancement Status: new | Priority: minor Milestone: | Component: WebSubmit Version: | Keywords: --------------------+------------------------- It happens sometimes that you upload same file multiple times and then you have it e.g. 4-times as 4 different versions (it happened to me when i uploaded some records in a batch with FFT and there was some problem with one file). I solved this by checking the md5 checksum of the new file and the lastest version of the fulltext (in ivnenio.bibdocfile.BibDoc.add_file_new_version) and if they match, don't do anything. Although it would be nice to let the user know that something's wrong (but I think this is most likely usable just for harvesting). Related issue is with ivnenio.bibdocfile.BibDoc.display - if you had more versions and you purged them (so there is e.g. version 4 but no version 1, 2, 3), it still shows option see other versions in files tab in HTML detailed, but there is nothing.
-- Ticket URL: <http://invenio-software.org/ticket/814> Invenio <http://invenio-software.org>
