Hi,
in the tag manager publishing overview I discovered the “last changes” page states that a number of my variables were deleted a few days ago.
Fortunately, when I check, all the required variables are still there.
So it’s not a real issue, but still confusing.
Hi @Thorsten.Michel . Thank you for taking the time to post your question. The only explanation that I can think of for items being listed as deleted when they weren’t is that the names of the items changed since the last version. The deletion check simply compares the list of names grouped by each entity type (tag, trigger, variable). If there’s a name in the previous version that can’t be found in the draft version, it’s marked as deleted. I hope that this helps answer your question.
Hi, @jacobr
Good guess, not quite the case here. But I think that leads to the explanation:
All “removed” variables use long names so in the Overview the Tag Manager trims the title and adds an ellipsis “…”.
Maybe the Tag Manager cannot match shortened and unabridged names when comparing?
That’s an excellent idea @Thorsten.Michel . Sadly, I can’t reproduce it. Inspecting the names being compared, they do indeed have some truncation, but they are truncated the same way for both versions, and the comparison passes. We should probably switch the names being compared to hashes or something similar at some point.
If it doesn’t resolve and becomes a concern, please feel free to create an issue on the MTM repository. For possible future reference, the comparison uses data retrieved from the TagManager.exportContainerVersion API endpoint for the previous and draft versions.