Data upload incorrectly succeeds on existing docid and revision
When uploading a data file to metacat in the case where the data document identifier already exists, the expected result is for metacat to 'update' the existing docid and revision, so long as the revision number of the new upload is greater than the existing revision number.
If the revision number is not incremented, but rather is identical to the existing revision number for the document, the upload incorrectly succeeds, but returns a upload size of zero bytes. Here's an example:
upload of testdata.1.1:
re-upload a new revision of the data file as testdata.1.2:
Now, mistakenly upload the next revision without incrementing to testdata.1.3:
The last upload should not succeed and should return an <error>.
Updated by Jing Tao almost 15 years ago
When chris found this bug, he was testing metacat which had a 1.7.0 + plus version. Both chris and I tested current cvs head (and I tested 1.8.0 version) but we couldn't duplicate this bug. It seems the bug was fixed in 1.8.0 release. So I close this bug. Also, in junit test system, i added a test case for this scenario, so we can monitor this bug.