Hi Marcelo. Yes, newUpdatePersonAppDataRequest doesn't appear to be working on the sandbox at the moment. If you haven't already, please file a new bug report in the OpenSocial issue tracker:
http://code.google.com/p/opensocial-resources/wiki/IssuesTab?tm=3 Until this bug is resolved, you should be able to continue your testing on http://prod.sandbox.orkut.com. Please let me know if you run into any other issues. - Jason On Sep 11, 6:25 am, Marcelo Gonella <[EMAIL PROTECTED]> wrote: > I'm trying to persist an Array of custom objects and I'getting an > error that I can't figure out. > > var pictPanel = new Array(); > > function Pict(id, fileName, name, w, h) { > this.fileName = fileName; > this.w = w; > this.h = h; > this.name = name; > this.id = id; > this.x = 0; > this.y = 0; > } > . > . > . > function Add(pict) { > pictPanel[ pict.id ] = pict;} > > . > . > . > function save() { > var json = gadgets.json.stringify(pictPanel); > var req = opensocial.newDataRequest(); > > req.add( > req.newUpdatePersonAppDataRequest(opensocial.DataRequest.PersonId.VIEWER, > 'myPanel', json) ); > req.send(onReqSave); > > } > > My firebug says: > json = {"1":{"fileName":"150x170.GIF","w":150,"h":170,"name":"Largura: > 150 por Altura:170","id":1,"x":100,"y":100}} > Response for req.send = [{"error":{"message":"notImplemented: Non- > partial app data updates not implemented yet","code":501}}] > > Am I doing something wrong? > Is it possible to be done? How can I solve this? > > Thanks in advance > > Marcelo Gonella --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Orkut Developer Forum" 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-orkut?hl=en -~----------~----~----~----~------~----~------~--~---

