When we use move option for the tags, corresponding references for the assets is not getting updated automatically.
Steps to reproduce the issue:
Upload any sample pdf to DAM. Ex: /content/dam/we-retail/en/faqs/orders/ActiveReport.pdf
Create a tag under /content/cq:tags/we-retail/activity/activity1
Assign ActiveReport.pdf with tag activity1
Move the Tag /content/cq:tags/we-retail/activity/activity1 to the new location /content/cq:tags/we-retail/activity/hiking using “Move” option in Tags console.
Open the properties of the asset in asset details console then Tags are showing as "We.Retail : Activity / Hiking / Activity1". But in CRXDE when we open the node properties of /content/dam/we-retail/en/faqs/orders/ActiveReport.pdf/jcr:content/metadata, cq:tags property still showing as old location we-retail:activity/activity1.
Is this expected behavior? we thought when we use move option for the tags, corresponding references for the assets also will be updated to reflect new location.
Yes, it is expected behavior. cq:backlinks is added to tag when you move the tag.
cq:backlinkskeeps the references in the other direction, i.e. it keeps a list of all the tags that have been moved to or merged with tag B. This is mostly required to keep cq:movedToproperties up to date when tag B is moved/merged/deleted as well or when tag B is activated, in which case all its backlinks tags must be activated as well.