TV Data missing on save

I have a site that is importing massive amounts of data from a 3rd party as our source via an external JSON file and run using a snippet.

For some reason, when we try and update some of the TV content in MODX afterwards, some data goes missing on the front end despite it remaining viewable on the back-end. To fix it, we’ve found you have to duplicate the entry, save the resource, delete the old entry, reorder and resave.

This cannot be the right way to fix this. Especially since we’re talking about hundreds of entries. My thought is that it’s a caching issue, but clearing both global cache and cache doesn’t fix the problem.

Any thoughts?

Thanks

You probably have to be a bit more specific:

  • What is the type of the TV that loses data? MIGX?
  • What do you mean by “entry” in the sentence “… duplicate the entry, save the resource, delete the old entry, reorder and resave”?
  • What do you mean by “both global cache and cache”? The cache in MODX and the browser cache?
  • How do you output the content from the TV in your template?
1 Like