Having trouble with JSON Object on publish instance | Community
Skip to main content
November 12, 2019

Having trouble with JSON Object on publish instance

  • November 12, 2019
  • 3 replies
  • 6003 views

Hello every one!

This time I came here for your help, here's the case:

I developed a custom assets gallery using a Java class that take the metadata of the images and pass it to the html, also I build in this class with the metadata of every image a Json Object that later use on a JavaScript file, until here everything work's fine on my author instance!

The thing is, when I publish the page with component everytthing work's fine but my json object. The image metadata is correctly fill with all the info, but the json object is empty.

My question is: Why this object is getting empty? what's the diference between author and publish instance?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

November 12, 2019

Are you seeing any log message

Ravi_Pampana
Community Advisor
Community Advisor
November 12, 2019

Hi,

Mostly we face these type of issues in publisher due to permission issues. Check whether the node is having read permissions in publish instance.

simoneb20672152
November 15, 2019

How are you retrieving the json object? Maybe the request is blocked by the dispatcher