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

        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: