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

SOLVED

infinity.json in publish instance

Rohit_Negi550
Level 4
Level 4

Hi All,

 

We are facing an issue on publish instance where when trying to open any page as infinity.json do not given any result on page though it gives a 200 OK status.

When opening the same page with a numeric.json it gives a result.

Example: /libs/cq/security/content/admin.infinity.json---> Doesn't show anything on browser but returns 200 OK 

But, /libs/cq/security/content/admin.4.json provides some results on browser.

 

Is it configurable somewhere to block the infinity selector? We are opening it through IP address so Dispatcher is not in the picture.

 

 

Thanks,

Rohit

1 Accepted Solution
Ritesh_M
Correct answer by
Community Advisor
Community Advisor

Hi @Rohit_Negi550 ,

 

Have you tried different browsers? Also, do you see any response data in the network tab where you see the 200 response code? I believe you must have tried restarting the sever. One more thing, just try to uninstall your project specific modules and see if it works, also check the error log when you access the infinity.json, any error if you find.

View solution in original post

7 Replies
asutosh_jena
Community Advisor
Community Advisor

Hi @Rohit_Negi550 

 

I can see it's working as expected.

Infinity is a special selector handle by defaultSlingServlet. If you want to access any of the page's content using the infinity.json please use the below syntax.

 

http://localhost:4502/content/we-retail/us/en/jcr:content.infinity.json

This will access the JCR content node which holds the page data.

 

Thanks!

Rohit_Negi550
Level 4
Level 4

Hi @asutosh_jena ,

 

http://localhost:4503/libs/cq/security/content/admin.infinity.json is working fine on my vanilla instance but is not working on the instance in which we are facing the issue, So I am sure it is not the expected behavior that we are facing.

 

Thanks!

Ritesh_M
Correct answer by
Community Advisor
Community Advisor

Hi @Rohit_Negi550 ,

 

Have you tried different browsers? Also, do you see any response data in the network tab where you see the 200 response code? I believe you must have tried restarting the sever. One more thing, just try to uninstall your project specific modules and see if it works, also check the error log when you access the infinity.json, any error if you find.

View solution in original post

Rohit_Negi550
Level 4
Level 4

Hi @Ritesh_M ,

 

Yes, Tried different browser. Response data is blank. Yes have restarted server as well. There is no entry in error.log as getting Status OK . Haven't tried after uninstalling my project module. Will try the same.

 

Thanks!