Hi,
We've been witnessing similar a issue, albeit via a "non-xml" authored app. To complete installation, our application stores two data points, as a pair, from its canvas:
function saveSelection(artist, dirname, callback)
{
os = opensocial.Container.get();
var dr = os.newDataRequest();
var v = opensocial.DataRequest.PersonId.VIEWER;
dr.add(os.newUpdatePersonAppDataRequest(v, 'artist', artist));
dr.add(os.newUpdatePersonAppDataRequest(v, 'dirname', dirname));
dr.send(callback);
}
On the profile, it then retrieves the latter dirname value in the expected manner. In production only, we are seeing an intermittent bug that results in our application loading improperly. Sometimes, around noon today for example, the bug occurs with a 50/50 chance with each refresh of the profile.
Using firebug, to find what I suspected to be a timeout issue, I was surprised to find that the response to our AppDataRequest would occasionally contain one value (artist) but not the other (dirname, the one that matters, of course). So, I've submitted an update to our app to retry the request a few times whenever we get a value for "artist" but not "dirname".
I'm pretty confident this workaround will do the job in production, having simulated it there using firebug. None the less, I thought I should bring it to your attention in this forum despite being unable to provide you with steps to reproduce in a guaranteed fashion. We know it to be intermittent and suspect it to be load related as it happens most often midday. Finally, I've never experienced it in the development sandbox.
Thanks,
JP
P.S.: we are east coasters, if you're thinking CDN...