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

Asset display page results in a "requested resource could not be found" error when there is a trailing slash in the URL

    Details

      Description

      Repro Steps

      1. Navigate to Content & Data > Web Content and create a Basic Web Content called "test"
      2. Navigate to Site Builder > Pages > Display Page Templates and create a new Display Page Template with "Web Content Article" as the Content Type and "Basic Web Content" as the Subtype
      3. Publish the Display Page Template
      4. Set this Display Template as default by clicking on Options > Mark as Default
      5. Navigate to the "test" Web Content from Step 1 and click on Options > View Content
      6. Add a trailing '/' to the URL (e.g., http://localhost:8080/web/guest/w/test/)

      Expected Behavior
      The Display Page Template is loaded without any issues
      Actual Behavior
      The Display Page Template results in a "requested resource could not be found" error

      Not Found
      The requested resource could not be found.
      

        Attachments

          Activity

            People

            Assignee:
            yang.cao Yang Cao
            Reporter:
            jesse.yeh Jesse Yeh
            Participants of an Issue:
            Recent user:
            Jason Pince
            Engineering Assignee:
            Jesse Yeh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              47 weeks ago

                Packages

                Version Package
                7.2.10 DXP FP8
                7.2.10.2 DXP SP3
                7.2.X
                7.3.4 CE GA5
                7.3.10 DXP GA1
                Master