Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Tag Admin move button grayed out

Avatar

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

Avatar

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) {

Avatar

Level 2

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