Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

AEM6.3 SP1 - TagManager does not resolve tag

Avatar

Level 2

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.

2 Replies

Avatar

Employee Advisor

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