Closed adborden closed 3 years ago
I will add a test case to export draft.json file and check if the save and draft datasets from the inventory are included
Tests were added in DataJOSN#92.
Tests are green @anuveyatsu. If the published_status is working we can move this to QA https://github.com/GSA/ckanext-datajson/blob/master/ckanext/datajson/test-inventory/test_export.py#L47
From https://github.com/GSA/datagov-ckan-multi/issues/422, we realized that the old form was using publishing_status for draft status, but the new form is using CKAN's draft state (
state: draft
). This breaks the export draft datasets funcitonality.How to reproduce
Expected behavior
data.json contains the new draft dataset.
Actual behavior
data.json contains no datasets.