Hi - I've realized finally why my data is getting lost on the admin screen. I recently needed to solve a problem of selecting between different taxonomy children with the same name, and since I was setup with taxonomy custom field type Select Advanced, I decided to try switching to Select tree to see if it would alleviate my issue (it did, but couldn't figure out to add more/clones, but that's a separate issue). BUT, when I saved my post from the new metabox custom field settings, all the info disappeared from the post on the admin side, and I haven't been able to figure out how to get it back. The data is still in the db, and available on the front-end, but now I can't edit anything...not good result as you can deduce.
Can you reproduce?
I can reproduce the issue on my demo site. But it is not an issue of the select tree field. The select tree field only supports displaying the parent taxonomy first. So you need to select the correct parent taxonomy then the child taxonomy will display.
Hi - I guess I wasn't clear in my description about the effects of the issue...yes, I understand that switching to Select tree requires you to choose the parent first, then child, etc...but I'm talking about the fact that all data in OTHER fields go blank (outside of groups, which aren't affected for some reason). Very unusual, and damaging.
Can you reproduce this? We have absolutely no idea what's making this happens other than the switching of taxonomy field type (which it clearly doesn't like).
Thanks for your information. I'm not able to reproduce the issue on my side. I don't think changing a field type of taxonomy field will affect the value of other fields unless the field ID is changed. Can you please share the screenshot of the field value in the database and export the field group to a JSON file and share it here? I will take a look.
I got the issue. The option "Save field value" of all fields is disabled so the existing value does not display in the admin area, screenshot https://monosnap.com/file/ypvVIpCcpnWyArbdu5AgyiWuglVWLG
You can edit the field group > edit each field > Advanced tab > Enable option "Save field value" and recheck this issue.
Thanks Peter, I will give it a shot in the near future...I have a few things going on with development that would make this a bad time to do another RESTORE if it still doesn't work, so I'm going to hold off trying this for now. I will update when I get a chance though.