Aha, that's rather ok atm for my app since this functionality is only
needed when the viewer and owner are the same person, so I can just
switch it.  When saving data specific for the owner we'll come across
this same problem again, but for now I'm happy if the viewer update
data works.


On Nov 5, 1:26 pm, AJ <[EMAIL PROTECTED]> wrote:
> An immediate follow up... not sure how i missed this previously,
> because i've been through the docs a dozen times... but just found
> this
>
> newUpdatePersonAppDataRequest
>
> Object newUpdatePersonAppDataRequest(id, key, value)
>
>       Creates an item to request an update of an app field for the
> given person. When processed, does not return any data.
>
>       Parameters:
>             String id - The ID of the person to update; only the
> special VIEWER ID is currently allowed.
>
> On Nov 6, 12:23 am, AJ <[EMAIL PROTECTED]> wrote:
>
> > I'm having the same issue. I'm not terribly sure whether I am doing
> > the right thing or not. Looking at the console in Firebug suggests
> > that the .newUpdatePersonAppDataRequestis returning a 500 error when
> > trying to save the data. This only occurs when using OWNER. If I
> > switch to VIEWER the same code works fine.
>
> > Not sure if this is by design?
>
> > On Nov 5, 6:47 am, Jawad_Shuaib <[EMAIL PROTECTED]> wrote:
>
> > > As a developer, I find this issue quite frustrating as it is difficult
> > > to debug code when one's not even sure the interpreter is stable. Does
> > > the Google team has any good news for us on this? Thanks,
>
> > > On Nov 3, 5:14 pm, Mokele <[EMAIL PROTECTED]> wrote:
>
> > > > Is this a known issue?
>
> > > > var req = opensocial.newDataRequest();
> > > > req.add(req.newUpdatePersonAppDataRequest("OWNER", "mykey", myvalue));
> > > > req.send(mycallback);
>
> > > > I can see in the test applications that the persistent data store
> > > > should be working, but using an equivalent of the example above I'm
> > > > not getting the desired results.  Known issue, or am I missing
> > > > something?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenSocial Developers" group.
To post to this group, send email to opensocial-api@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to