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