ICEpush
  1. ICEpush
  2. PUSH-179

Double submit executed when push notification received

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.1
    • Component/s: JavaScript Client
    • Labels:
      None
    • Environment:
      IE7, IE8

      Description

      While running ICEpush in IE7 or IE8 for each push notification received from the server the bridge will invoke the notification callbacks twice.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #29938 Wed Jul 11 17:37:17 MDT 2012 mircea.toma PUSH-179 Modify the local storage notification code to avoid invoking the callback corresponding to the event triggering window when running in IE.
        Files Changed
        Commit graph MODIFY /icepush/trunk/icepush/core/src/main/javascript/inter.window.notification.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #29939 Wed Jul 11 17:39:40 MDT 2012 mircea.toma PUSH-179 Modify the local storage notification code to avoid invoking the callback corresponding to the event triggering window when running in IE.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/lib/icepush.jar
        Mircea Toma created issue -
        Mircea Toma made changes -
        Field Original Value New Value
        Assignee Mircea Toma [ mircea.toma ]
        Hide
        Mircea Toma added a comment -

        In ICEpush we use browser's local storage functionality as a way of communication between browser windows. It seems that in IE whenever the local storage values are modified the events are triggered in all windows without exception, while in the rest of the browsers the window that modified the local storage value will not receive the event.

        Show
        Mircea Toma added a comment - In ICEpush we use browser's local storage functionality as a way of communication between browser windows. It seems that in IE whenever the local storage values are modified the events are triggered in all windows without exception, while in the rest of the browsers the window that modified the local storage value will not receive the event.
        Hide
        Mircea Toma added a comment -

        The event notification code invokes the callback of the window that triggered the event in the first place but because of the IE specific behavior the result is a double invocation of the notification callbacks.

        The fix applied modifies the local storage notification code to avoid calling the callback corresponding to the event triggering window when running in IE.

        Show
        Mircea Toma added a comment - The event notification code invokes the callback of the window that triggered the event in the first place but because of the IE specific behavior the result is a double invocation of the notification callbacks. The fix applied modifies the local storage notification code to avoid calling the callback corresponding to the event triggering window when running in IE.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: