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

Portlet 3.0 TCK: PortletConfig.getContainerRuntimeOptions().get("javax.portlet.renderHeaders") does not always return null

    Details

    • Type: Technical Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      The Portlet 2.0 Javadoc for PortletConfig.getContainerRuntimeOptions() states:

      The map returned from this method will provide the subset the portlet container supports of the options the portlet has specified in the portlet.xml. Options that the portlet container does not support will not be returned in this map.

      Liferay Portal has never supported this feature, so the option should never be present in the map when running in Liferay Portal. However, when the following appears in portlet.xml, PortletConfig.getContainerRuntimeOptions().get("javax.portlet.renderHeaders") returns "false" instead of null.

      portlet.xml
      <container-runtime-option>
            <name>javax.portlet.renderHeaders</name>
            <value>false</value>
      </container-runtime-option>
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              shuyang.zhou Shuyang Zhou
              Reporter:
              neil.griffin Neil Griffin
              Recent user:
              Neil Griffin
              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, 51 weeks ago

                  Packages

                  Version Package