Details

      Description

      Test failures:

      6 session invalidation related test cases fail:

      • V2AddlEnvironmentTests_SPEC2_18_Sessions_httpSession4
      • V2AddlEnvironmentTests_SPEC2_18_Sessions_httpSession5
      • V2AddlEnvironmentTests_SPEC2_18_Sessions_invalidate
      • V2EnvironmentTests_PortletSession_ApiRender_getAttributeA4
      • V2EnvironmentTests_PortletSession_ApiRender_getCreationTime2
      • V2EnvironmentTests_PortletSession_ApiRender_invalidate1

      Background:

      According to PLT3 19.3,

      If the HttpSession object is invalidated, the portlet container must also invalidate the corresponding PortletSession object. If a portlet invalidates the PortletSession object, the portlet container must invalidate the corresponding HttpSession object.

      and PLT3 19.4.1

      The PortletSession interface methods getCreationTime, getId, getLastAccessedTime, getMaxInactiveInterval, invalidate, isNew and setMaxInactiveInterval must provide the same functionality as the HttpSession interface methods with identical names.

      The PortletSession interface getAttribute, setAttribute, removeAttribute and getAttributeNames methods must provide the same functionality as the methods of the HttpSession interface with identical names.

      In Liferay, because of Equinox and the Whiteboard spec it follows, this can't be simply achieved by delegating to the underlying HTTP session.

        Attachments

          Activity

            People

            Assignee:
            brian.chan Brian Chan
            Reporter:
            dante.wang Dante Wang
            Recent user:
            Csaba Turcsan
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 44 weeks, 1 day ago

                Packages

                Version Package
                7.0.0 DXP FP35
                7.0.0 DXP SP7
                7.0.5 CE GA6
                7.0.X
                Master