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
Ted Goddard
created issue -
Ted Goddard
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Mircea Toma [ mircea.toma ] |
Ken Fyten
made changes -
Assignee Priority | P1 [ 10010 ] |
Ken Fyten
made changes -
Fix Version/s | 3.4 [ 10971 ] |
Mircea Toma
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Cannot Reproduce [ 5 ] |
Ted Goddard
made changes -
Resolution | Cannot Reproduce [ 5 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Mircea Toma
made changes -
Assignee | Mircea Toma [ mircea.toma ] | Ted Goddard [ ted.goddard ] |
Ken Fyten
made changes -
Project | ICEpush [ 10050 ] | ICEmobile [ 10060 ] |
Key |
|
|
Affects Version/s | 1.3 Beta [ 10373 ] | |
Affects Version/s | 3.3 [ 10374 ] | |
Assignee Priority | P1 [ 10010 ] | |
Fix Version/s | 1.3 Final [ 10873 ] | |
Fix Version/s | EE-3.3.0.GA [ 10575 ] | |
Fix Version/s | 3.4 [ 10971 ] | |
Component/s | Applications [ 10172 ] | |
Component/s | JavaScript Client [ 10041 ] |
Ted Goddard
made changes -
Fix Version/s | 1.3 EE [ 10973 ] | |
Fix Version/s | 1.3 Final [ 10873 ] |
Ted Goddard
made changes -
Assignee | Ted Goddard [ ted.goddard ] | Philip Breau [ philip.breau ] |
Philip Breau
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
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 |
Philip Breau
made changes -
Summary | Ensure push connection is active when pushIDs are registered | jQuery 1.6.1 version in JSP demos is interfering with ICEpush |
When running icemobilespring demo the blocking connection is started reliably when the "Cloud Push" page is accessed.