Details
-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.3 Beta
-
Fix Version/s: EE 1.3
-
Component/s: Applications
-
Labels:None
-
Environment:ICEmobile spring
Description
When the icemobilespring demo is loaded
http://labs.icesoft.com/icemobilespring
the initial page does not make use of notifications, so the blocking connection is not started. When the Cloud Push demo is chosen, ice.push.register is invoked
ice.push.register(['2hh14981m:zcl'], function(){
ice.push.get('/icemobilespring/notificationsregion', function(parameter) {
parameter('group', 'notifications');} , function(statusCode, responseText) {
var container = document.getElementById('2hh14981m:zcl');
if( container ) container.innerHTML = responseText;if( container ) ice.push.searchAndEvaluateScripts(container);});});
but the implementation of register does not appear to guarantee that the listen.icepush requests will run.
It is often necessary to clear the cache and restart the demo from the beginning to observe push updates not being delivered.
http://labs.icesoft.com/icemobilespring
the initial page does not make use of notifications, so the blocking connection is not started. When the Cloud Push demo is chosen, ice.push.register is invoked
ice.push.register(['2hh14981m:zcl'], function(){
ice.push.get('/icemobilespring/notificationsregion', function(parameter) {
parameter('group', 'notifications');} , function(statusCode, responseText) {
var container = document.getElementById('2hh14981m:zcl');
if( container ) container.innerHTML = responseText;if( container ) ice.push.searchAndEvaluateScripts(container);});});
but the implementation of register does not appear to guarantee that the listen.icepush requests will run.
It is often necessary to clear the cache and restart the demo from the beginning to observe push updates not being delivered.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #36225 | Thu Jun 13 16:10:04 MDT 2013 | philip.breau | - upgrade jq to 1.9.1 to avoid killing the setInterval process |
Files Changed | ||||
MODIFY
/icemobile/trunk/icemobile/samples/jsp/mvc-mediacast/src/main/webapp/WEB-INF/jsp/head.jsp
ADD /icemobile/trunk/icemobile/samples/jsp/mvc-mediacast/src/main/webapp/resources/javascript/jquery-1.9.1.min.js |