ICEfaces
  1. ICEfaces
  2. ICE-7085

Browser status/connection indicator spins when the User Session Expire dialog is shown

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.2, EE-1.8.2.GA_P03
    • Fix Version/s: 2.1-Beta, 3.0, EE-1.8.2.GA_P04
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      All
    • Assignee Priority:
      P3

      Description

      When the user session has expired on an ICEfaces app, the User Session Expired popup is shown. The browser status or connection indicator begins to spin indicating that it is loading or processing something. This issue is reproducible on both Firefox and IE browsers and only seems to affect the ICEfaces EE 1.8.2 P03 release.

      Upon reviewing the Firebug console output., the connection is closed properly and no other communication is sent when the session has expired.

        Activity

        Hide
        Arran Mccullough added a comment -

        Attached test case and video which shows the issue. To reproduce the issue with the test case, deploy the war to Tomcat 6. Bring up the welcomeICEfaces.iface page and let it sit there for 1 min. The session should expire and the indicator will start to spin.

        Show
        Arran Mccullough added a comment - Attached test case and video which shows the issue. To reproduce the issue with the test case, deploy the war to Tomcat 6. Bring up the welcomeICEfaces.iface page and let it sit there for 1 min. The session should expire and the indicator will start to spin.
        Hide
        Mircea Toma added a comment -

        When the session popup is rendered there is also an overlay rendered behind it. This overlay is an iframe that has its content written dynamically by Javascript to avoid having a request for a blank page going back to the server. The iframe markup is written with the document.write function and since the document is never closed the browser is still waiting for markup to be written, hence the busy indicator spinning.

        The solution was to call "document.close()" after the markup was written.

        Show
        Mircea Toma added a comment - When the session popup is rendered there is also an overlay rendered behind it. This overlay is an iframe that has its content written dynamically by Javascript to avoid having a request for a blank page going back to the server. The iframe markup is written with the document.write function and since the document is never closed the browser is still waiting for markup to be written, hence the busy indicator spinning. The solution was to call "document.close()" after the markup was written.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: