GetDKAN / dkan

DKAN Open Data Portal
https://dkan.readthedocs.io/en/latest/index.html
GNU General Public License v2.0
374 stars 172 forks source link

Allow unpublished items in form #4319

Open dafeder opened 1 month ago

dafeder commented 1 month ago

Describe your changes

Currently, if a keyword or other child item is unpublished, it will be invisible to the json_form_widget's autocomplete. This means if you create a dataset that is unpublished, then edit it again, the keywords will be missing from the form, and when you save will be removed.

QA Steps

Notes

This becomes unnecessary after the second save, when all child items are published. That workflow doesn't make a lot of sense though, and there is a todo to change that as well.

Checklist before requesting review

If any of these are left unchecked, please provide an explanation