usome / UmbracoTagManager

0 stars 8 forks source link

Deleting a tag from tag manager doesn't delete the tag from the tag datatype on a node #3

Open amirkhan81 opened 2 years ago

amirkhan81 commented 2 years ago

Umbraco version 8.17.0, tag manager v8 1.0.0.

I added the default tag datatype with the default tag group to a document type, created a tag called "test", went to tag manager and deleted the tag, but its still appearing on the document. You can see in the attached that tag manager is showing nothing, but the document still has the tag. Screen Shot 2021-10-15 at 4 06 44 PM Screen Shot 2021-10-15 at 4 06 55 PM

V414 commented 2 years ago

I've been having this exact same issue with Umbraco v8.16.0 for the past few months.

This also happens with renaming a tag too - it renames it in the Tag Manager tab, but changes nothing on the document type.

V414 commented 2 years ago

It would be super useful if this could get fixed please - there doesn't seem to be any other tag managers out there, so I'd have to try and build my own version from scratch if it isn't (as tags are a really important part of current project)

V414 commented 2 years ago

I've just dug a little deeper into this, and the tag manager does seem to be deleting and renaming tags correctly in parts of the database - specifically, the .cmsTags and .cmsTagRelationship tables.

What seems to be broken is actually updating the CMS content - the CMS values seem to actually be stored in a "varcharValue" column as part of the .umbracoPropertyData table, but my old previously renamed tags are still showing the old values.

melvinvanrookhuizen commented 2 years ago

Hi, we will be checking this tomorrow!

Van: George Kent-Nye @.> Verzonden: maandag 10 januari 2022 19:06 Aan: usome/UmbracoTagManager @.> CC: Subscribed @.***> Onderwerp: Re: [usome/UmbracoTagManager] Deleting a tag from tag manager doesn't delete the tag from the tag datatype on a node (#3)

I've just dug a little deeper into this, and the tag manager does seem to be deleting and renaming tags correctly in the database - specifically, the .cmsTags and .cmsTagRelationship tables.

What seems to be broken is actually updating the CMS content - the CMS values seem to actually be stored in a "varcharValue" column as part of the .umbracoPropertyData table, but my old previously renamed tags are still showing the old values.

— Reply to this email directly, view it on GitHubhttps://github.com/usome/UmbracoTagManager/issues/3#issuecomment-1009188922, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABKBPTEPT3VB77IMK5H2AFTUVMNYJANCNFSM5GCVU7PQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>>

V414 commented 2 years ago

Any luck with this?

For anyone else in the same position that tags are different in the CMS and the database, I've been able to make things consistent by first uninstalling this package (until it's fixed at least 😃), and then clearing the .cmsTagRelationship and then the .cmsTags tables, followed by manually republishing all content with tags.