ICEfaces
  1. ICEfaces
  2. ICE-7035

Test for presence of ICEpush in sessionExpired function

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.2
    • Fix Version/s: 2.1-Beta, 3.0, EE-2.0.0.GA_P01
    • Component/s: Bridge
    • Labels:
      None
    • Environment:
      -
    • Assignee Priority:
      P1

      Description

      A "namespace.push.deregister is null or not an object" javascript error is thrown sporadically and the application stops functioning until the page is refreshed. ICEpush is not being used. The error is thrown here in application.js:

          function sessionExpired() {
                  //stop retrieving updates
                  retrieveUpdate = noop;
                  //dregister pushIds to stop blocking connection
                  each(viewIDs, namespace.push.deregister);
                  //notify listeners
                  broadcast(sessionExpiryListeners);
              }

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24982 Fri Jul 08 08:04:05 MDT 2011 mircea.toma ICE-7035 Add test for the existence of ICEpush before invoking its public functions.
        Files Changed
        Commit graph MODIFY /icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/core/src/main/javascript/application.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24981 Fri Jul 08 07:44:21 MDT 2011 mircea.toma ICE-7035 Test for the existence of ICEpush before invoking its public functions.
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/javascript/application.js

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Tyler Johnson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: