metacatui icon indicating copy to clipboard operation
metacatui copied to clipboard

MetacatUI attempts to re-upload resource map with the same ID when a file name is changed

Open robyngit opened this issue 11 months ago • 0 comments

Steps to reproduce

  1. Make a new dataset with at least one file
  2. Save the dataset
  3. Edit the dataset and change the file name, don't change ANYTHING else
  4. Save the dataset
  5. See error: HashStore refs files already exist for pid resource_map_urn:uuid:... and cid: 8ed23f53022a...

If you change anything in the EML at the same time that you change the file name, the error does not occur. This is odd because the EML does change when a file is renamed in the <entityName> element.

robyngit avatar Dec 17 '24 16:12 robyngit