Container token refresh mechnism throws a fatal error after certain amount of
time ( like 30 seconds ) -- FF only
-----------------------------------------------------------------------------------------------------------------
Key: SHINDIG-1688
URL: https://issues.apache.org/jira/browse/SHINDIG-1688
Project: Shindig
Issue Type: Bug
Components: Javascript
Affects Versions: 3.0.0
Environment: Can't reproduce on Chrome, only see it on FF.
Reporter: li xu
To repeat, just use commoncontainer test page and add a couple of gadgets, you
should start seeing "updating container security token" at browser debugging
console.
For FF, it will throw an error after certain amount of time like 30 seconds.
var fetch = fetch_once ||
this.config_[osapi.container.ContainerConfig.GET_CONTAINER_TOKEN];
if (fetch) {
var self = this;
fetch(function(token, ttl) { // token and ttl may be undefined in the case of
an error ===> fetch is not a function
fetching = false;
Once this error shows up, you can't render new gadget anymore. It's not a
problem for Chrome though.
Discussed with Dan, it might be related to gadgets.util.makeClosure(self,
refresh)? it should return a function, but it didn't
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira