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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

JcrResourceResolverImpl in Adobe CQ 5.4. Url mappings problem

Pawko
Level 2
Level 2

Hi All,

I have a problem with url mappings defined under Configuration tab in JcrResourceResolverImpl Section.

So far there were many items defined under url mappings but after adding two new ones, resource resolver stopped resolving mappings. Those two were: "/content/brand:/brand" and "/content/mobile:/mobile".

I have not seen any problems or errors in logs. Additionaly when only one of them was added, everything was working good.

Could you explain what is wrong with my url mappings configuration? 

1 Accepted Solution
Ojjis
Correct answer by
Level 7
Level 7

The pattern seems to be wrong, have you tried with "/content/brand/:/brand" and "/content/mobile/:/mobile". 
One way of doing it would be to have like "/content/mybrand/-/" and "/content/myotherbrand/-/". That worked for me.

Good Luck
/Johan

View solution in original post

0 Replies
smacdonald2008
Level 10
Level 10

Have you followed the documentation located here:
http://dev.day.com/docs/en/cq/current/deploying/resource_mapping.html

Are you using the correct patterns? 

Ojjis
Correct answer by
Level 7
Level 7

The pattern seems to be wrong, have you tried with "/content/brand/:/brand" and "/content/mobile/:/mobile". 
One way of doing it would be to have like "/content/mybrand/-/" and "/content/myotherbrand/-/". That worked for me.

Good Luck
/Johan

View solution in original post

Sham_HC
Level 10
Level 10

Could you please configure at repository level rather than felix console and verify.