Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-13039

Cannot set HTTP status code on resource requests

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 5.1.2, 5.2.3, 6.0.5 GA, 6.1.0 CE RC1
    • Fix Version/s: --Sprint - SP, 6.1.0 CE RC1
    • Component/s: WCM
    • Labels:
      None
    • Environment:
      all
    • Branch Version/s:
      6.0.x, 5.2.x, 5.1.x
    • Backported to Branch:
      Committed

      Description

      Porlet Spec 2.0 says,
      "If the portlet want to set a response status code it should do this via setProperty with
      the key ResourceResponse.HTTP_STATUS_CODE."

      But it is not supported by Liferay portal.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  --Sprint - SP
                  6.1.0 CE RC1