You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Submitter uses bulk patch call to Metax before publishing submission to update metadata to the latest. If the study or some datasets fail to validate on Metax side but at least one passes Metax will still return HTTP200 and the response will have the form: {"success": <successed datasets>, "failed": <failed datasets>}
To Reproduce
This behavior can be reproduced by
not mapping some required value for Metax e.g. other_identifier[].type.identifier" which are mapped from alternateIdentifiers
using demo server for Metax instead of mocked API
there will be failing submission publishing but no visible error
To see what's wrong with the dataset same mapped metadata should be sent as request body directly to Metax with PATCH https://metax.demo.fairdata.f/rest/v2/datasets.
Expected behavior
There should be an indication of which dataset failed to be updated to Metax. This can be achieved by e.g. replacing use of a bulk patch to separate object patching.
The text was updated successfully, but these errors were encountered:
Describe the bug
Submitter uses bulk patch call to Metax before publishing submission to update metadata to the latest. If the study or some datasets fail to validate on Metax side but at least one passes Metax will still return HTTP200 and the response will have the form:
{"success": <successed datasets>, "failed": <failed datasets>}
To Reproduce
This behavior can be reproduced by
other_identifier[].type.identifier"
which are mapped fromalternateIdentifiers
To see what's wrong with the dataset same mapped metadata should be sent as request body directly to Metax with
PATCH https://metax.demo.fairdata.f/rest/v2/datasets
.Expected behavior
There should be an indication of which dataset failed to be updated to Metax. This can be achieved by e.g. replacing use of a bulk patch to separate object patching.
The text was updated successfully, but these errors were encountered: