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

Using Display Page Templates with articles that have friendly URL with special characters gives 404 error

    Details

      Description

      Reproduction steps:

      1. Set up a bundle
      2. Create a "Display Page Template" in Pages → Display Page Templates, call it "displaypage"
      3. Set Content type –> Basic Web Content
      4. Select Section Builder –> Content Display, here drag and drop the Display Page Content
      5. Publish the template
      6. Create an article ("Test1")
      7. Set its display page (Display Page Template –> Specific Display Page Template) to "displaypage"
      8. Set its friendly URL to "tést"
      9. Save the article
      10. Open web content by its URL:
        http://localhost:8080/web/guest/-/tést
        

      Expected: the "Test1" web content is shown
      Actual: error is shown:

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

      Notes:
      Set this log level to WARN to see the exception in the logs:

      com.liferay.friendly.url.internal.servlet.FriendlyURLServlet
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                14 weeks, 2 days ago

                Packages

                Version Package
                7.2.10 DXP FP4
                7.2.X
                7.3.0 CE GA1
                Master