Hello, I am new to VersionPress and believe I have found a bug with how references are generated/replaced when building the INI files that represent a navigation menu item. (post type, nav_menu_item)
When creating a new navigation menu item the INI file that represents the post generates the following line:
_menu_item_object_id#VP_ID_FOR_POSTMETA = VP_ID_FOR_TERM_TAXONOMY
This results in a row in the postmeta table where the meta value is the term_taxonomy_id. This differs from the row that Wordpress inserts on save which uses the term_id as the meta value.
When we spin up a new instance or use apply changes this causes our category navigation menus to break because the meta_value does not resolve to the correct term. Visually this results in a navigation menu with empty links on the user side and on the admin side the Menu management UI contains the correct number of category items but the label/name text is blank.
This can be reproduced by creating a new menu and then applying those changes to another instance or spinning up a new instance based off those vpdb files.