After updating a data file, entity, attribute and physical document version is not consistent in local and metacat
When I created new data package, local and metacat has same version(1)in each
Howerver, if data file was changed in data table and update button was
clicked. It was found dataset, datafile, entity, attribute, physical were
updated to version 2 in local. But in metacat, only dataset and datafile
updated to version 2, the others still keep version 1. Actually, only data
file was updated and entity, attribute file would still keep in version 1.
#1 Updated by Dan Higgins almost 18 years ago
Documents were being incorrectly written to metacat dus to readers not being
reset to beginning of stream after writing local copies (for case where both
local and metacat docs were being updated.
Fixed by closing readers and recreating after local doc changes saved.