This actually was already a bug and I think I fixed it yesterday. Is your svn client fully synced?
- Cassie On Thu, Jul 17, 2008 at 2:42 AM, Chris Chabot <[EMAIL PROTECTED]> wrote: > Hey Ram, > > I don't suppose you could file a bug report in Jira for this? Otherwise it > might get lost in the mass of mails. > > Thanks! > > -- Chris > > > On Jul 17, 2008, at 9:54 AM, Ram Sharma wrote: > > Hi, >> >> I am trying this in php shindig samplecontainer : >> >> var data1 = Math.random() * 5; >> var data2 = Math.random() * 100; >> var data3 = new Date().getTime(); >> var req = opensocial.newDataRequest(); >> req.add(req.newUpdatePersonAppDataRequest("VIEWER", "AppField1", >> data1)); >> req.add(req.newUpdatePersonAppDataRequest("VIEWER", "AppField2", >> data2)); >> req.add(req.newUpdatePersonAppDataRequest("VIEWER", "AppField3", >> data3)); >> req.send(handlePopulateMyAppData, "update_appdata"); >> >> But when request is made it sends only AppField3 key. AppField1 and >> AppField2 doesn't get updated. >> >> However the same code works fine , if I use different request keys, i.e. >> req.add(req.newUpdatePersonAppDataRequest("VIEWER", "AppField1", >> data1),"data1"); >> req.add(req.newUpdatePersonAppDataRequest("VIEWER", "AppField2", >> data2),"data2"); >> req.add(req.newUpdatePersonAppDataRequest("VIEWER", "AppField3", >> data3),"data3"); >> req.send(handlePopulateMyAppData, "update_appdata"); >> >> >> I read in opensocial api reference that : >> "if you try to update a person's app data using a previously-defined key, >> the new value will simply replace the existing value." >> in this key is "blank" or "undefined",is that means it gets overwrite >> each >> time and finally last key will be sent ? >> >> Not sure, whetehr this is excatly an issue for php Shindig, but in other >> containers like Orkut/MySpace accept blank request key is also accepted, >> and >> you can update n different data in one go , without any request key. >> Even java shindig works fine without request Key. >> >> -- >> Ram Sharma >> Software Engineer >> Impetus Infotech (India) Pvt Ltd >> Indore >> > >