AtlasOfLivingAustralia / collectory

Metadata registry for the Atlas
https://collections.ala.org.au
Other
0 stars 15 forks source link

DwC terms and JSON map of parameters are being cleared during upload process #208

Closed kylie-m closed 11 months ago

kylie-m commented 1 year ago

We have recently identified a problem with Collectory when attempting to upload data.

Upon clicking on the “Upload” button in the file upload section, it redirects us to the data uploading page, but it inadvertently erases the Darwin core terms that serve as the unique identifiers for a record.

Similarly, within the Data Mobilisation section, various properties, including the JSON map of parameters, are being inadvertently cleared.

Is there a possible solution to preserve this information? as its alteration can lead to complications during data ingestion if it goes unnoticed.

raised by @cha801p

adam-collins commented 1 year ago

My understanding of this issue is that Darwin core terms that uniquely identify a record that appear when editing a data resource in the DataResource Edit -> Data Mobilisation -> Edit -> Connection Parameters section are not used as the defaults in the DataResource Edit -> File Upload -> Upload a data file page.

@cha801p Can I please get an example for the Data Mobilisation section JSON map of parameters getting cleared. I am unsure how to reproduce this.

cha801p commented 1 year ago

In the Protocol section of Data Mobilisation, when choosing the "Custom Webservice" option, if you switch to "Darwin Core Archive" and then return to "Custom Webservice," all the previously saved settings get reset.

adam-collins commented 1 year ago

Pull request https://github.com/AtlasOfLivingAustralia/collectory/pull/215

adam-collins commented 1 year ago

This is on collections test for testing

kylie-m commented 1 year ago

It's working well for me, based on my understanding of how it should function