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-76005

Portlet 3.0 TCK: Call the EventResponseImpl.transferHeaders method if we want to add cookies during event phase

Details

    Description

      Test result:
      There are 2 test cases in V2AddlResponseTests fails because of this. 
      For example: TestCase: V2AddlResponseTests_SPEC2_12_Event_cookie5: Details: Cookies set during the Event phase should be available to the portlet during the Render phase.

      Background:
      According to portlet Spec 3.0 Chapter 15.1.2:

      Cookies set in the response of one lifecycle call should be available to the portlet in the subsequent lifecycle calls.

      In Liferay, When we want to add cookies during the event phase, we should call the EventResponseImpl.transferHeaders method at the appropriate time.

      Attachments

        Activity

          People

            brian.chan Brian Chan
            leon.chi Leon Chi (Inactive)
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              5 years, 2 weeks, 6 days ago

              Packages

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