ICEpush
  1. ICEpush
  2. PUSH-29

Registered javascript callbacks are continually retried if an exception is thrown in the callback (Client-side Exception-triggered Push Storm)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: JavaScript Client
    • Labels:
      None
    • Environment:
      n/a

      Description

      If a registered javascript callback function throws an exception the ICEpush bridge will continue to retry calling that function. This can result in a storm of activity and crash the browser.

        Activity

        Hide
        Philip Breau added a comment -

        test case instructions:

        • upack in /integration/jquery/samples
        • build war target
        • open <server:port>/push-29/index.html
        • click 'Listen to Groups' button
        • create a new group
        • note storm of requests caused by the callback listener continually recalled when it throws an exception
        Show
        Philip Breau added a comment - test case instructions: upack in /integration/jquery/samples build war target open <server:port>/push-29/index.html click 'Listen to Groups' button create a new group note storm of requests caused by the callback listener continually recalled when it throws an exception
        Hide
        Mircea Toma added a comment -

        Stop callback exceptions from propagating. Log callback exceptions. Test if callback is of function type.

        Show
        Mircea Toma added a comment - Stop callback exceptions from propagating. Log callback exceptions. Test if callback is of function type.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: