Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Tag Admin move button grayed out

marys389
Level 2
Level 2

We are upgrading from 5.5 to 5.6 and are finding that as of 5.6 the Move button is not available for any tag.  It is grayed out.  Is anyone else experiencing this or know why this might be?

2 Replies
michal_ociepka
Level 1
Level 1

Hi,

Please check this request: /libs/cq/tagging/content/tagadmin.infinity.json

probably the issue is connected with bad target for move action. The incorrect target is "CQ.tagging.TagAdmin.getSingleTarget". Please change it to ""CQ.tagging.TagAdmin.getSelectedTag".

This is because of the bug in getSingleTarget function:

incorrect:

CQ.tagging.TagAdmin.getSingleTarget = function () {
    if (CQ.tagging.TagAdmin.getSelectedTags().length > 0) {
        // make sure list selection is single
        if (CQ.tagging.TagAdmin.getSelectedTags().length > 0) {  
            return null;
        } else {
            return CQ.tagging.TagAdmin.getSelectedTag();
        }
    } else {
        // no list selection, use tree
        return CQ.tagging.TagAdmin.getCurrentTreePath();
    }
};

 

correct:

if (CQ.tagging.TagAdmin.getSelectedTags().length > 0) {
        // make sure list selection is single
        if (CQ.tagging.TagAdmin.getSelectedTags().length > 1) {

marys389
Level 2
Level 2

Thank you for the suggestion.  We made have already made the change on March 15, 2015.