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

tagManager.resolve(tagPath) is returning null without logging into Publish?

Avatar

Avatar
Validate 1
Level 2
manasip
Level 2

Likes

3 likes

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
manasip
Level 2

Likes

3 likes

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile
manasip
Level 2

19-07-2018

Hi All,

I have written a servlet which will be executed when below url is called:

http://localhost:4503/content/experience-fragments/TestProject/en-us/banners.searchConditionalConten...

This url fetch the correct data based on the query written in servlet service. Now on publish server, the data is fetched only if I am logged into Publish server through crxde. If I am not logged into the publisher through crx de the servlet is not responding the expected data. why?

I have created a system user for this service/servlet and used this session.

while debugging I found that :

While executing Tag tag = tagManager.resolve(tagPath); I am getting tag = null, where tagpath is /etc/tags/project/test/sources/512 which is published to the publisher. and I checked that this tag is available in the publisher. The respective content is also published.

Any pointers to find this? or debugging.

Thanks,

Manasi

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 10
edubey
Level 10

Likes

273 likes

Total Posts

1,502 posts

Correct Reply

392 solutions
Top badges earned
Validate 1
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Validate 1
Level 10
edubey
Level 10

Likes

273 likes

Total Posts

1,502 posts

Correct Reply

392 solutions
Top badges earned
Validate 1
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile
edubey
Level 10

21-07-2018

By Default, Anonymous user will not have permission /etc/tags
Either you can provide permission or read this via service user which as permission

Answers (2)

Answers (2)

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

22-07-2018

Also - we are running an Ask the AEM Community Experts on this on Tues - this is your chance to ask questions like this during the webinar -- Sign up here -- Scott's Digital Community: [Webinar | July ] Ask the AEM Community Experts: Adobe Experience Manager...

Avatar

Avatar
Give Back 50
Employee
Kunwar
Employee

Likes

65 likes

Total Posts

253 posts

Correct Reply

72 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile

Avatar
Give Back 50
Employee
Kunwar
Employee

Likes

65 likes

Total Posts

253 posts

Correct Reply

72 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile
Kunwar
Employee

20-07-2018

Go to useradmin, For everyone group make sure you have read permissions to /etc/tags and folder under it.

In AEM 6.4, the path for the tags would be /content/cq:tags. You can check for the same permission for the everyone group.