Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-119672

Session Timeout Warning does not count down for IE 11

    Details

      Description

      Description

      On 7.2.x, the session timer warning does not behave correctly. Specifically, once the warning pops up, the session timer does not count down. This issue only specifically affects IE 11 and not browsers like Chrome, Firefox, etc. Upon testing, the cause of the issue is LPS-112180. Specifically, DXP tries to use the DOM element method closest(), which is not supported on IE 11:

      See the following link for more info: https://developer.mozilla.org/en-US/docs/Web/API/Element/closest#Browser_compatibility.

      Reproduction Steps

      1) Go to TOMCAT_HOME/webapps/ROOT/WEB-INF/web.xml and update the session-timeout value to 2 (from 15).
      2) Set the following in portal-ext.properties:

      session.timeout=2
      session.timeout.warning=1
      session.timeout.redirect.on.expire=true

      3) Start Liferay and use IE 11 to access DXP.
      4) Sign in as admin and wait until the session timer warning pops up.

      Actual Results: The session timer does not count down. Also, the user is not automatically taken back to the main page after the 2 minutes.
      Expected Results: The session timer counts down. Upon the timer reaching 0, the user is automatically taken back to the main page.

      Testing

      Reproducible on:

      • 7.2.10 DXP FP5
      • 7.2.x: 55b8a3f83d945c204c2a2fc81d26cee719c53c81

      Not reproducible on:

      • 7.2.10 DXP FP4
      • Master: b61f00856ab5d13fa85ec8750dc841eee66178f8

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              della.wang Della Wang (Inactive)
              Reporter:
              kevin.lee Kevin Lee
              Participants of an Issue:
              Recent user:
              Yunlin "Steven" Sun
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 1 week, 4 days ago

                  Packages

                  Version Package
                  7.1.10 DXP FP21
                  7.1.X
                  7.2.10 DXP FP9
                  7.2.X