Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-74114 Make Liferay compatible with version 2.0 tests in the Portlet 3.0 TCK
  3. LPS-75917

Portlet 3.0 TCK: Ignore cookies set during the resource phase after the response has been flushed or committed

    Details

      Description

      Test Result:

      There is one test case in V2AddlResponseTests fails because of this. 
      V2AddlResponseTests_SPEC2_12_Resource_cookie17: Details: Cookies set during the Resource phase after the response has been committed are ignored.

      Background:

      According to Portlet Spec 3.0 Chapter 15.1.2:

      Cookies are properties and all above restrictions about properties also apply for cookies, i.e. to be successfully transmitted back to the client, cookies must be set before the response is committed during header request or render request processing. The portlet container must ignore cookies set during the render or resource phase after the response buffer has been flushed to the portal application.

      In Liferay, we should judge whether the response has been flushed or committed.

        Attachments

          Activity

            People

            • Assignee:
              brian.chan Brian Chan
              Reporter:
              leon.chi Leon Chi
              Recent user:
              Csaba Turcsan
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 38 weeks, 2 days ago

                Packages

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