AEM6.3 SP1 - TagManager does not resolve tag

Avatar

Avatar

vikashy47555224

Avatar

vikashy47555224

vikashy47555224

14-05-2019

Hi,

on author and publish instances TagManager successfully resolve tag but it fails to resolve tags when we access through webserver. We are resolving tags using fully qualified tag id(ex: mynamespace:car/color/red).

TagManager tagManager = resolver.adaptTo(TagManager.class);

Tag tag = tagManager.resolve("<fully qualified tag id>");

Here resolve(-) returns null value.

Replies

Avatar

Avatar

jbrar

Employee

Avatar

jbrar

Employee

jbrar
Employee

15-05-2019

Do you have any sling mappings for web server URL? If yes, try removing the mappings and try again.

Also, setting up a DEBUG logger on the following classes will provide more info on what's going on:

  • org.apache.sling.resourceresolver
  • com.day.cq.tagging

Avatar

Avatar

Vish_dhaliwal

Employee

Avatar

Vish_dhaliwal

Employee

Vish_dhaliwal
Employee

15-05-2019

Hello,

Please review this post Unable to resolve tags in AEM 6.3 using Tag Manager

Regards,

Vishu