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

HTTP 400 error deploying a legacy war with display-name element removed

    Details

      Description

      DESCRIPTION
      Displaying a legacy WAR style portlet where the display-name was not set that users do not have permissions to see results in a HTTP 400 and the following on the page:

      Internal Server Error
      An error occurred while accessing the requested resource.

      http://localhost:8080/web/guest/page

      This is a regression issue that was introduced in DE-36 by a source formatting commit that was part of LPS-76512.

      Please see https://issues.liferay.com/browse/LPP-30695?focusedCommentId=1399983 for further context
      STEPS TO REPRODUCE
      1. Deploy a legacy WAR style portlet that doesn't have a display-name element set in its portlet.xml (use attached plugin)
      2. Add the portlet to a page.
      3. Remove Guest view permissions from the portlet.
      4. Visit the page as a Guest.
      EXPECTED RESULTS
      Page appears without error
      ACTUAL RESULTS
      Internal Server Error
      An error occurred while accessing the requested resource.

      http://localhost:8080/web/guest/test
      and http 400 in browser console

        Attachments

          Activity

            People

            Assignee:
            raven.song Raven Song
            Reporter:
            joshua.cords Joshua Cords
            Participants of an Issue:
            Recent user:
            Csaba Turcsan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.0.0 DXP FP55
                7.0.0 DXP SP9
                7.0.X
                7.1.10 DXP FP1
                7.1.1 CE GA2
                7.1.10.1 SP1
                7.1.X
                Master