ICEfaces
  1. ICEfaces
  2. ICE-11205

showcase - HTTP500 browser console errors on Session Expiry (MsEdge/Windows10)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.1.1
    • Fix Version/s: 4.2.BETA, 4.2
    • Component/s: ACE-Components, Sample Apps
    • Labels:
      None
    • Environment:
      ICEfaces4 trunk r 49719
      Browser: MsEdge38/Windows10
      Server: Tomcat7
    • Assignee Priority:
      P3

      Description

      Showcase:
      On MsEdge, when session expires and refreshing the page, two identical JS errors are written in the browser console:

      HTTP500: SERVER ERROR - The server encountered an unexpected condition that prevented it from fulfilling the request.
      (XHR)POST - http://localhost:8080/showcase/showcase.jsf
      HTTP500: SERVER ERROR - The server encountered an unexpected condition that prevented it from fulfilling the request.
      (XHR)POST - http://localhost:8080/showcase/showcase.jsf

      This has no functional impact on how showcase works, and the console error does not go away until the browser console is cleared manually.

        Activity

        Carmen Cristurean created issue -
        Carmen Cristurean made changes -
        Field Original Value New Value
        Summary showcase - Session Expiry browser console errors (MsEdge/Windows10) showcase - HTTP500 browser console errors on Session Expiry (MsEdge/Windows10)
        Carmen Cristurean made changes -
        Priority Major [ 3 ] Minor [ 4 ]
        Carmen Cristurean made changes -
        Fix Version/s EE-4.2.0.GA [ 13071 ]
        Carmen Cristurean made changes -
        Description Showcase:
        On MsEdge, when session expires and refreshing the page, a JS error is written in the browser console:

        HTTP500: SERVER ERROR - The server encountered an unexpected condition that prevented it from fulfilling the request.
        (XHR)POST - http://localhost:8080/showcase/showcase.jsf

        This has no functional impact on how showcase works, and the console error does not go away until the browser console is cleared manually.
        Showcase:
        On MsEdge, when session expires and refreshing the page, a JS error is written in the browser console:

        HTTP500: SERVER ERROR - The server encountered an unexpected condition that prevented it from fulfilling the request.
        (XHR)POST - http://localhost:8080/showcase/showcase.jsf

        This has no functional impact on how showcase works, and the console error does not go away until the browser console is cleared manually.
        Carmen Cristurean made changes -
        Description Showcase:
        On MsEdge, when session expires and refreshing the page, a JS error is written in the browser console:

        HTTP500: SERVER ERROR - The server encountered an unexpected condition that prevented it from fulfilling the request.
        (XHR)POST - http://localhost:8080/showcase/showcase.jsf

        This has no functional impact on how showcase works, and the console error does not go away until the browser console is cleared manually.
        Showcase:
        On MsEdge, when session expires and refreshing the page, two identical JS errors are written in the browser console:

        HTTP500: SERVER ERROR - The server encountered an unexpected condition that prevented it from fulfilling the request.
        (XHR)POST - http://localhost:8080/showcase/showcase.jsf
        HTTP500: SERVER ERROR - The server encountered an unexpected condition that prevented it from fulfilling the request.
        (XHR)POST - http://localhost:8080/showcase/showcase.jsf

        This has no functional impact on how showcase works, and the console error does not go away until the browser console is cleared manually.
        Ken Fyten made changes -
        Assignee Mircea Toma [ mircea.toma ]
        Fix Version/s 4.2 [ 12870 ]
        Fix Version/s EE-4.2.0.GA [ 13071 ]
        Assignee Priority P3 [ 10012 ]
        Hide
        Mircea Toma added a comment -

        Enhanced request handling to avoid responding with HTTP 500 error to dispose window requests that arrive after the session has expired.

        Show
        Mircea Toma added a comment - Enhanced request handling to avoid responding with HTTP 500 error to dispose window requests that arrive after the session has expired.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49734 Wed Dec 21 16:33:22 MST 2016 mircea.toma ICE-11205 Avoid to respond with HTTP 500 to dispose window requests that arrive after the session has expired.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/WindowScopeManager.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/ExtendedExceptionHandler.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/SessionAwareResourceHandlerWrapper.java
        Hide
        Carmen Cristurean added a comment -

        Verified ICEfaces4 trunk r 49734 on MsEdge38, IE11, Chrome55, FF49/Windows10.

        Show
        Carmen Cristurean added a comment - Verified ICEfaces4 trunk r 49734 on MsEdge38, IE11, Chrome55, FF49/Windows10.
        Hide
        Mircea Toma added a comment -

        Carmen, please retest. I commited a small change for this issue.

        Show
        Mircea Toma added a comment - Carmen, please retest. I commited a small change for this issue.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49735 Wed Dec 21 17:19:11 MST 2016 mircea.toma ICE-11205 Improve test.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/ExtendedExceptionHandler.java
        Hide
        Carmen Cristurean added a comment - - edited

        Verified ICEfaces4 trunk r 49735, ICEfaces 4.2.BETA Jenkins Build2 on MsEdge38, IE11, Chrome55, FF49/Windows10.

        Show
        Carmen Cristurean added a comment - - edited Verified ICEfaces4 trunk r 49735, ICEfaces 4.2.BETA Jenkins Build2 on MsEdge38, IE11, Chrome55, FF49/Windows10.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49738 Thu Dec 22 10:22:48 MST 2016 ken.fyten ICE-11205 Avoid to respond with HTTP 500 to dispose window requests that arrive after the session has expired.
        Files Changed
        Commit graph MODIFY /icefaces4/tags/icefaces-4.2.0.BETA/icefaces/core/src/main/java/org/icefaces/impl/application/ExtendedExceptionHandler.java
        Commit graph MODIFY /icefaces4/tags/icefaces-4.2.0.BETA/icefaces/core/src/main/java/org/icefaces/impl/application/SessionAwareResourceHandlerWrapper.java
        Commit graph MODIFY /icefaces4/tags/icefaces-4.2.0.BETA/icefaces/core/src/main/java/org/icefaces/impl/application/WindowScopeManager.java
        Ken Fyten made changes -
        Affects Version/s 4.1.1 [ 12972 ]
        Affects Version/s 4.2.BETA [ 13091 ]
        Ken Fyten made changes -
        Security Private [ 10001 ]
        Ken Fyten made changes -
        Fix Version/s 4.2.BETA [ 13091 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: