Exporting applied tags along with list

As part of data for testing, we are exporting a few DocTypes, in our developer Environment, for an app we are developing.

Let us say I have a DocType called ‘Location’ and have places ‘Goa’, ‘Mumbai’, ‘Varanasi’, ‘Bengaluru’, etc. Along with this we have created and added the built in tags. For example ‘Goa’ has ‘Beach’, and ‘Varanasi’ has ‘Temple’, etc.

Now to share this data we have added the ‘Tag’ and ‘Tag Link’, in the hooks.py

fixtures = [
    ...
    "Location",
    "Tag", 
    "Tag Link",
    ...
]

But this does not look like working. It feels like a some bugs are there, but I wanted make sure we are doing everything correctly.

After bench migrate the tags are not properly applied to the ‘Locations’.

Observed Issues

  1. Clicking ‘Show Tags’ will not show the tags with the ‘Locations’
  2. When a specific location is opened the applied tags are visible.
  3. When a new tag is added to the location, and then refreshed, then the older tags which were visible only inside the specific location will get removed, and only the new one is present. After this ‘Show Tags’ will also start showing newly applied tag.

Other Observations

  1. _user_tags are present in the JSON for each ‘Location’ location.
  2. ‘Tag Links’ do have all entries related to the applied tags. They are not removed.

Questions

  1. Any other steps are needed to export and share the tags among developers?
  2. Is this the expected behaviour? Else I can open a bug report with more details.