ICEmobile
  1. ICEmobile
  2. MOBI-764

jQuery 1.6.1 version in JSP demos is interfering with ICEpush

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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.

        Activity

        Hide
        Ted Goddard added a comment -

        As Mircea mentioned, switching to setTimeout is unlikely to help – the bug is that jQuery is killing the timer based on the guessable process ID (such as id = 1).

        Show
        Ted Goddard added a comment - As Mircea mentioned, switching to setTimeout is unlikely to help – the bug is that jQuery is killing the timer based on the guessable process ID (such as id = 1).
        Hide
        Ted Goddard added a comment -

        IE 8 compatibility is still desired, so jQuery 2 is too recent an upgrade.

        Show
        Ted Goddard added a comment - IE 8 compatibility is still desired, so jQuery 2 is too recent an upgrade.
        Hide
        Philip Breau added a comment -

        Upgraded jquery version to 1.9.1

        Revision: 36224
        Author: philip.breau
        Date: June-13-13 3:54:50 PM
        Message:
        MOBI-764 Ensure push connection is active when pushIDs are registered


        Modified : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/WEB-INF/views/inc/head.jsp
        Modified : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/WEB-INF/views/template-small-android.jsp
        Modified : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/camera.html
        Added : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/jquery/jquery-1.9.1.min.js
        Added : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/jquery.mobile-1.3.1
        Added : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/jquery.mobile-1.3.1/images
        Added : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/jquery.mobile-1.3.1/images/ajax-loader.gif
        Added : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/jquery.mobile-1.3.1/images/icons-18-black.png
        Added : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/jquery.mobile-1.3.1/images/icons-18-white.png
        Added : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/jquery.mobile-1.3.1/images/icons-36-black.png
        Added : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/jquery.mobile-1.3.1/images/icons-36-white.png
        Added : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/jquery.mobile-1.3.1/jquery.mobile-1.3.1.css
        Added : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/jquery.mobile-1.3.1/jquery.mobile-1.3.1.js
        Added : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/jquery.mobile-1.3.1/jquery.mobile-1.3.1.min.css
        Added : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/jquery.mobile-1.3.1/jquery.mobile-1.3.1.min.js
        Added : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/jquery.mobile-1.3.1/jquery.mobile-1.3.1.min.map
        Added : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/jquery.mobile-1.3.1/jquery.mobile.structure-1.3.1.css
        Added : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/jquery.mobile-1.3.1/jquery.mobile.structure-1.3.1.min.css
        Added : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/jquery.mobile-1.3.1/jquery.mobile.theme-1.3.1.css
        Added : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/jquery.mobile-1.3.1/jquery.mobile.theme-1.3.1.min.css
        Modified : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/microphone.html

        Show
        Philip Breau added a comment - Upgraded jquery version to 1.9.1 Revision: 36224 Author: philip.breau Date: June-13-13 3:54:50 PM Message: MOBI-764 Ensure push connection is active when pushIDs are registered Modified : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/WEB-INF/views/inc/head.jsp Modified : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/WEB-INF/views/template-small-android.jsp Modified : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/camera.html Added : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/jquery/jquery-1.9.1.min.js Added : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/jquery.mobile-1.3.1 Added : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/jquery.mobile-1.3.1/images Added : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/jquery.mobile-1.3.1/images/ajax-loader.gif Added : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/jquery.mobile-1.3.1/images/icons-18-black.png Added : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/jquery.mobile-1.3.1/images/icons-18-white.png Added : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/jquery.mobile-1.3.1/images/icons-36-black.png Added : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/jquery.mobile-1.3.1/images/icons-36-white.png Added : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/jquery.mobile-1.3.1/jquery.mobile-1.3.1.css Added : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/jquery.mobile-1.3.1/jquery.mobile-1.3.1.js Added : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/jquery.mobile-1.3.1/jquery.mobile-1.3.1.min.css Added : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/jquery.mobile-1.3.1/jquery.mobile-1.3.1.min.js Added : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/jquery.mobile-1.3.1/jquery.mobile-1.3.1.min.map Added : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/jquery.mobile-1.3.1/jquery.mobile.structure-1.3.1.css Added : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/jquery.mobile-1.3.1/jquery.mobile.structure-1.3.1.min.css Added : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/jquery.mobile-1.3.1/jquery.mobile.theme-1.3.1.css Added : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/jquery.mobile-1.3.1/jquery.mobile.theme-1.3.1.min.css Modified : /icemobile/trunk/icemobile/samples/jsp/icemobilespring/src/main/webapp/resources/microphone.html
        Hide
        Philip Breau added a comment -

        Revision: 36225
        Author: philip.breau
        Date: June-13-13 4:10:04 PM
        Message:
        MOBI-764 Ensure push connection is active when pushIDs are registered

        • upgrade jq to 1.9.1 to avoid killing the setInterval process

          Modified : /icemobile/trunk/icemobile/samples/jsp/mvc-mediacast/src/main/webapp/WEB-INF/jsp/head.jsp
          Added : /icemobile/trunk/icemobile/samples/jsp/mvc-mediacast/src/main/webapp/resources/javascript/jquery-1.9.1.min.js

        Show
        Philip Breau added a comment - Revision: 36225 Author: philip.breau Date: June-13-13 4:10:04 PM Message: MOBI-764 Ensure push connection is active when pushIDs are registered upgrade jq to 1.9.1 to avoid killing the setInterval process Modified : /icemobile/trunk/icemobile/samples/jsp/mvc-mediacast/src/main/webapp/WEB-INF/jsp/head.jsp Added : /icemobile/trunk/icemobile/samples/jsp/mvc-mediacast/src/main/webapp/resources/javascript/jquery-1.9.1.min.js
        Hide
        Philip Breau added a comment -

        Can no longer reproduce in mvc-mediacast or icemobilespring demos

        Show
        Philip Breau added a comment - Can no longer reproduce in mvc-mediacast or icemobilespring demos

          People

          • Assignee:
            Philip Breau
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: