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

PortletSession.invalidate() results in user being logged out

    Details

      Description

      When calling

      {portletSession.invalidate()}

      the user is logged out.

      This is due to over aggressive handling of the session invalidation in equinox.http.servlet.

      The fix is pending the next release upstream here: https://git.eclipse.org/r/#/c/123084/

      Steps to reproduce:
      1) login to the portal
      2) deploy the attached war
      3) add all the portlets under "undefined" to a page
      4) click one of the buttons on the page

       expected results:
      the page should re-render with the test case passing

       actual results:
      you are logged out of the portal and get redirected to the login page

        Attachments

          Activity

            People

            Assignee:
            raymond.auge Raymond Auge
            Reporter:
            raymond.auge Raymond Auge
            Participants of an Issue:
            Recent user:
            Michael Saechang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              4 years, 6 weeks ago

                Packages

                Version Package
                7.1.0 Beta 2
                Master