ICOS-Carbon-Portal / meta

ICOS Carbon Portal metadata service
GNU General Public License v3.0
3 stars 1 forks source link

Removal of previous-version data object from a partially-deprecating data object metadata during metadata update is broken #214

Closed mirzov closed 1 year ago

mirzov commented 1 year ago

The problematic scenario is the following. Suppose we have an object A, being deprecated by objects B1 and B2 (together). If we now use UploadGUI to update B2's metadata, and the only change is removal of object A from the list of B2's previous versions, then the result appears to be a complete loss of next-version objects for A. That is in contrast to the expected result is that B1 is the only deprecator of A.

mirzov commented 1 year ago

Possibly related to https://github.com/ICOS-Carbon-Portal/meta/commit/e071ec5e0fa56597ecb36dfde05b1c81e4933699