-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSDGM Import Failing #614
Comments
@dwalt The error is related to data quality but I'm not sure I understand what this error is saying so I was hoping you might have some insight:
I was able to import the CSDGM file and then export it in mdJson, so I was able to see that the format of the file does indeed look correct, but something about validation for data quality seems to think This appears to be an issue with the validation, but the validation incorrectly seems to think the object it found should be an array. |
@dwalt I think the issue is in the dataQualityReport.json file in mdJson-schemas. It indicates evalutaionMethod should be an array, so either that schema definition is wrong or the schema visible in mdTools is wrong. |
@jwaspin That definition is incorrect, it is not an array. report is an array, and each report may have one and only one evaluationMethod, see: adiwg/mdJson-schemas#226 |
@dwalt I just came across this again in the process of trying to close out Data Quality. We will need to fix the schema in mdJson-schemas then I need to update the readers/writers in mdTranslator to look at evaluation method as an object and not an array. |
@jwaspin Review the schema issue here: adiwg/mdJson-schemas#224 |
Update: This should be fixed as part of mdTranslator v2.19.5 (then mdEditor updated to use that new version). Some testing of the mdTranslator may be necessary but this should fix the import errors. |
Issue
mdEditor Version (find version under settings): 1.0.1+97c42afc
mdEditor Web Address (enter the URL): https://go.mdeditor.org/, https://dev.mdeditor.org/
Issue Description:
Provide a general description of the problem. If issue is a feature request, tell us why this feature is useful.
Import of CSDGM to mdJSON will not translate to any writer, both prod and dev
Steps to reproduce (Bug reports only):
Observed Results (Bug reports only):
Error message of Schema Validation failed, mdjson reader
Created new mdJSON record from scratch and it translated successfully, confirming it is not the mdJSON reader, at least not directly. Appears to be the translation from CSDGM to mdJSON. Note: the CSDGM import ran without error.
Expected Results (Bug reports only):
An error free mdJSON file should translate to any format supported by the content
Note: cannot test CSDGM Translation bugs as a result
What did you expect to happen?
The text was updated successfully, but these errors were encountered: