I am experiencing a bug with TagManager (5.1) on Umbraco (7.14) where, after editing one of the tags, the tag becomes corrupt (see screenshot below).
The issue occurred when I renamed one of the tags. Only the renamed tag is affected, the tags on the other nodes are still intact.
I was using Umbraco tags without the plugin installed for quite some time, and this issue did not occur. It was only after installing TagManger and renaming a tag that the bug appeared.
The tags property editor is using the Umbraco defaults e.g. it uses the "default" tag group and is set to store the tags as JSON.
The project I am working on heavily relies on tags, so having the ability to rename, merge and delete tags would be very beneficial. If there is anything that I can do to help in diagnosing the problem, please let me know.
I have just done some more testing and I think I have found the problem.
The problem is caused by the property editor saving the tags as JSON. The tags property was updated in Umbraco 7.12 to save tags as JSON by default, pre version 7.12 it would save the tags as a CSV.
More information can be found on the release page here. Look for U4-11497 under features.
To test this I created two tag inputs, one uses the default tag property and the other is a custom property that saves tags in CSV format.
I created a tag titled "test" in both of these editors, then, I went to Tag Manager and renamed both tags to "test edited".
The CSV property was updated correctly, however, the JSON property was split (see screenshot).
I could move over to using CSV for my tags but the CSV option is now labelled as a "legacy" in the backend.
It would be great to get a fix for this, if possible.
Thanks for your time and input on this one. I had been looking into it a while ago but got distracted by life and not come back to it.
Whilst not at the same point of debugging as you I had come to the conclusion my code needed to handle the JSON / CSV config for tags and that it might be the reason it was failing.
I had played with some native SQL to update tags, but that felt dirty as it was bypassing Umbraco Core and so a bit risky.
Based on your findings I will investigate if/how to determine the tag setup and from there save it accordingly.
I'm not very proficient with C#, but if I can help in any way, (testing etc) please let me know.
Tag Manager is such a great package and makes Umbraco tags so much easier to work with. Thank you for all of the time and effort you have spent developing it. :)
Bug When Editing A Tag Name
Hi
I am experiencing a bug with TagManager (5.1) on Umbraco (7.14) where, after editing one of the tags, the tag becomes corrupt (see screenshot below).
The issue occurred when I renamed one of the tags. Only the renamed tag is affected, the tags on the other nodes are still intact.
I was using Umbraco tags without the plugin installed for quite some time, and this issue did not occur. It was only after installing TagManger and renaming a tag that the bug appeared.
The tags property editor is using the Umbraco defaults e.g. it uses the "default" tag group and is set to store the tags as JSON.
The project I am working on heavily relies on tags, so having the ability to rename, merge and delete tags would be very beneficial. If there is anything that I can do to help in diagnosing the problem, please let me know.
Kind regards Ben
I have just done some more testing and I think I have found the problem.
The problem is caused by the property editor saving the tags as JSON. The tags property was updated in Umbraco 7.12 to save tags as JSON by default, pre version 7.12 it would save the tags as a CSV.
More information can be found on the release page here. Look for U4-11497 under features.
To test this I created two tag inputs, one uses the default tag property and the other is a custom property that saves tags in CSV format.
I created a tag titled "test" in both of these editors, then, I went to Tag Manager and renamed both tags to "test edited".
The CSV property was updated correctly, however, the JSON property was split (see screenshot).
It would be great to get a fix for this, if possible.
Kind regards Ben
Hi Ben
Thanks for your time and input on this one. I had been looking into it a while ago but got distracted by life and not come back to it.
Whilst not at the same point of debugging as you I had come to the conclusion my code needed to handle the JSON / CSV config for tags and that it might be the reason it was failing.
I had played with some native SQL to update tags, but that felt dirty as it was bypassing Umbraco Core and so a bit risky.
Based on your findings I will investigate if/how to determine the tag setup and from there save it accordingly.
Cheers
Nigel
Hi Nigel
I'm not very proficient with C#, but if I can help in any way, (testing etc) please let me know.
Tag Manager is such a great package and makes Umbraco tags so much easier to work with. Thank you for all of the time and effort you have spent developing it. :)
Kind regards Ben
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.