Hi again :)

I solved my problem described in previous post. I managed to force the
same error on Partuza using some data from my site.

The thing is that serialized data which application sends to set/prefs
url where I save it into my database happen to be filtered by default
by my framework :)) So double quotations are beeing translated to
somethling like %26quot%3B.
Of course, next time when application renders it self, the container
sends that filtered data which application can't read and everithing
ends up with "JSON.parse" error.

So watch out for input filtering if you have any :)

On May 20, 5:02 pm, arlo <[email protected]> wrote:
> Hi,
>
> So far I was successufull in implementing container. Gadgets are
> running on my page and comunicating with my database storing and
> reading data.
>
> But certain error is showing for some gadgets (for some not). Firebug
> is reporting "JSON.parse" and below is complete javascript error in
> one line. on the left is url of that javascript and i can see that is
> from that running gadget.
>
> That error shows only when gadget enters some data in database and
> tryes to take it next time I open the page with it. So first render
> works fine when theres nothing from the database to take into the
> gadget. ToDo gadget acts like that.
>
> What am I doing wrong?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Implementing OpenSocial Containers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/opensocial-container?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to