Having trouble with JSON Object on publish instance

Avatar

Avatar
Validate 1
Level 1
frankml_ve
Level 1

Likes

2 likes

Total Posts

10 posts

Correct reply

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

Avatar
Validate 1
Level 1
frankml_ve
Level 1

Likes

2 likes

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Boost 1
View profile
frankml_ve
Level 1

12-11-2019

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?

Replies

Avatar

Avatar
Give Back 5
Level 2
scottm91515441
Level 2

Likes

5 likes

Total Posts

35 posts

Correct reply

5 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 5
View profile

Avatar
Give Back 5
Level 2
scottm91515441
Level 2

Likes

5 likes

Total Posts

35 posts

Correct reply

5 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 5
View profile
scottm91515441
Level 2

12-11-2019

Are you seeing any log message

Avatar

Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

197 likes

Total Posts

243 posts

Correct reply

75 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile

Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

197 likes

Total Posts

243 posts

Correct reply

75 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
Ravi_Pampana
MVP

12-11-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.

Avatar

Avatar
Give Back
Level 1
simoneb20672152
Level 1

Likes

2 likes

Total Posts

8 posts

Correct reply

1 solution
Top badges earned
Give Back
Boost 1
Affirm 1
View profile

Avatar
Give Back
Level 1
simoneb20672152
Level 1

Likes

2 likes

Total Posts

8 posts

Correct reply

1 solution
Top badges earned
Give Back
Boost 1
Affirm 1
View profile
simoneb20672152
Level 1

15-11-2019

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