Home › Forums › Bug Reports › After JSON SYNC, PostObject field empty because Taxonomy missing › Reply To: After JSON SYNC, PostObject field empty because Taxonomy missing
Thanks for the topic, great explanation of the issue too!
I’ll keep this one in mind for future updates, but can’t say it will be making it into he core any time soon. Just too many big features to work on.
it’s definitely a nice to have, and should be possible for the taxonomy field to ‘validate’ it’s settings, but also, this is quite a niche bug.
I wonder if it is possible for you to hook into the taxonomy field update_field filter “acf/update_field/type=taxonomy” and run your own validation.
This filter will be run during the sync, and also when updating via the edit screen. Perhaps you could save a temp error to the DB, then load it and display as a WP admin notice?
I hope everything else is smooth sailing from here on in!
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!