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

Portlet 3.0 TCK: The setContentType method should have no effect if it be called after the getWriter or getPortletOutputStream methods

    Details

      Description

      Test result:

      The test case V2AddlResponseTests_SPEC2_12_Resource_contentType5 fails because of a selenium error. The browser received an incorrect content type so that the result information can't be displayed on the page correctly and the TCK can't check the result information. So the selenium error is generated. 

      Background:

      According to portlet Spec 3.0 Chapter 15.5.1:

      The setContentType method must be called before the getWriter or getPortletOutputStream methods. Otherwise, the method will have no effect.

      In Liferay, we need to implement these logic.

        Attachments

          Issue Links

            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, 37 weeks, 5 days ago

                  Packages

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