Hi,
Sometimes we are hitting "arr is undefined" error when one of our
page loads. Error is occurring in shindig-container.js of
shindig-features-2.0.2.jar in the following location marked in red
colour.
function handleJSONResponse(obj) {
var requiresPubSub2 = false;
var arr = obj.data.gadgets[0].features;
for (var i = 0; i < arr.length; i++) {
if (arr[i] === 'pubsub-2') {
requiresPubSub2 = true;
break;
}
}
var subClass = requiresPubSub2 ? shindig.OAAIfrGadget :
shindig.IfrGadget;
for (var name in subClass) if (subClass.hasOwnProperty(name)) {
gadget[name] = subClass[name];
}
}
};
Please find the firebug snapshot below. Issue is intermittent and is
not consistently reproducible. Please let me know if any of you is aware
of such issue. Also please let me know if you have any workaround for
the issue and the scenario when this error can occur. Thanks in advance
and waiting for the reply from the forum.