Possible solutions
Make data templates try to find location object specific templates. Possibly add fall back support to a basic template with bare minimum field requirements.
The fix should also be implemented to the XML feed to keep everything consistent.
Describe the bug When using a custom object as a location if
Featured
is not a field on the object the json endpoint generates invalid json.To Reproduce Steps to reproduce the behavior:
Featured
fieldjson
actionExpected behavior Valid json is generated
This is what is generated currently without a
Featured
field of getterPossible solutions Make data templates try to find location object specific templates. Possibly add fall back support to a basic template with bare minimum field requirements.
The fix should also be implemented to the XML feed to keep everything consistent.