ICEfaces
  1. ICEfaces
  2. ICE-6064

Bridge handling of session expiry notifications

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Beta1
    • Fix Version/s: 2.0-Beta2, 2.0.0
    • Component/s: Bridge
    • Labels:
      None
    • Environment:
      ICEfaces 2

      Description

      A number of cases have been resolved related to handling of session expiration (see ICE-5980, ICE-5997, ICE-6004, ICE-6005). Now, under most proper conditions, a custom SessionExpiredException will be thrown and displayed on the client. This works when ICEpush is present and will display in all views related to the expired session.

      There are a still some outstanding behaviours related to the bridge related to proper handling of the exception.

      - the Session Expired dialog appears in compat mode even if a connection status component is present (this blocks ICE-5779)
      - it appears that, if push is running, it continues to run even after receiving the session expired response

        Activity

        Hide
        Deryk Sinotte added a comment -

        The test case appears to work properly now. The only issue that I see is that the Session Expired popup gets displayed even though the connection status component is present.

        Show
        Deryk Sinotte added a comment - The test case appears to work properly now. The only issue that I see is that the Session Expired popup gets displayed even though the connection status component is present.
        Hide
        Mircea Toma added a comment -

        Changed server error handling to trap SessionExpiredException server error and invoke callbacks registered with ice.onSessionExpired method. Removed old session expiration code that used a special pushId to get the session expiry notification.

        Show
        Mircea Toma added a comment - Changed server error handling to trap SessionExpiredException server error and invoke callbacks registered with ice.onSessionExpired method. Removed old session expiration code that used a special pushId to get the session expiry notification.
        Hide
        Mircea Toma added a comment -

        Removed ICEpush code in WindowScopeManager used for sending session expiry notification to all the windows.

        Show
        Mircea Toma added a comment - Removed ICEpush code in WindowScopeManager used for sending session expiry notification to all the windows.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: