I've stumbled over an interesting problem. I'm trying to develop an application that uses a cloud storage solution for my stores. I have a store configured with a proxy that retreives data from a remote URL. until now nothing fancy.
The remote store cloud solution provides a image storing capability as well, so i upload the image on the server and in the store it reaches as a json object.
stripping down other unimportant data this is the json structure,
If now in my template i have a
this makes the XTemplate fail. With a uncaught SyntaxError : Unexpected token ) .
If I map in the store with the mapping attribute in the model config, i get a UNEXPECTED TOKEN ILLEGAL error.
I also tried using another field, with the "@" prefix and although it didn't give any error the image would not render and the page source did not contain anything . Upon removing the @ prefix the image rendered.
any ideas of how i can solve this issue? I can't modify the api from the server so no matter how it will always give me that structure. and i need to use this online service.