Labels not being fully deleted
Hello,
Labels are not completely removed from the system after being deleted in the studio. Even after clearing the cache (both UNA and browser cache), deleted labels are still displayed in the module's pages where they were used (discussions, posts etc) and they are even clickable. Also, they are still being listed on the channels homepage (channels-home)
Is this a Bug or a normal behavior?
I am using UNA 13.0.1.
Thanks
-
-
·
Anton L
- ·
Hello. We had a bug that sublabels weren't deleted with parent lebel. It was fixed here: https://github.com/unacms/una/issues/4977 But when label was deleted it won't delete related Channel and the usage of the label in content. In this case label is like predefined hashtag, which means that the deletion of the label cannot delete usage of related hashtag from all content.
-
·
Anton L
-
- · OneEagle
-
·
In reply to Anton L
- ·
Dear @Anton L Thanks for your reply. Ok it makes sense. Thanks for your explanation. By the way, can I manually apply this #4977 fix to my UNA 13.1.0? I have some parent labels that I would like to delete with their sublabels. Thanks
-
-
·
Anton L
-
·
In reply to OneEagle
- ·
Hello. You are welcome! I think you may try to apply. It should work if 'getLabels' method is available in UNA 13 and supports 'type = parent'. If you get an error, it means that "Labels" feature is different in 13 and 14 versions and you'll need to roll back the fix.
-
·
Anton L
-
- · OneEagle
-
·
In reply to Anton L
- ·
Ok. I will give it a try and let you know. Thanks.
-
- · OneEagle
-
·
In reply to Anton L
- ·
Hi Anton, I have tried to apply to fix found here: https://github.com/unacms/una/issues/4977 but it didn't work. It gives me a 500 Internal server error on the label page in studio. As you said, probably it's bcz the Labels" feature is different in 13 and 14 versions. I have rolled back the fix and will delele sublabels manually one by one.
-
-
·
LeonidS
-
·
In reply to OneEagle
- ·
Hello @OneEagle !
About the error 500 - could you please check what did you get in the server error log file?
-
·
LeonidS