CLOSER-Cohorts / archivist

Archivist is designed to be an easy to use editor that allows documention of questionnaires and data in DDI-Lifecycle
MIT License
17 stars 8 forks source link

REACT: Export/import should always be valid #723

Open HayleyMills opened 1 year ago

HayleyMills commented 1 year ago

There are examples of instruments which are being exported with no issues, but which will not import. Can we add additional checks or validation to ensure that it is not possible for an exported intrument not to be imported?

e.g. attached xml exported from live will not import into staging. I think this is a content issue (as other instruments import), but cannot find the issue. cls_covid_q3.txt

https://closer-archivist-staging.herokuapp.com/admin/imports/568

HayleyMills commented 1 year ago

There is an issue with the exporter not exporting a literal and so is null when trying to import https://closer-archivist-staging.herokuapp.com/admin/imports/580

This could be an issue with a special characters? It looks like this in the db - image

Ideally an instrument shouldn't be exported if it's not possible to be imported- any ideas on the best way to deal with this?

HayleyMills commented 1 year ago

I will add to list of checks to perform on the Gitlab exporter.