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

Unable to display the article when the Friendly URL contains a slash followed by a solely numeric value

    Details

    • What problem did the customer find?:
      See description.

      Description

      Friendly URL returns Not Found error.

      The issue can be reproduced when the Friendly URL contains a slash character which is followed by a solely numeric value. The URL Title and the first part of the Friendly URL is different.

      e.g.

      • Web Content title: "article"
      • Friendly URL: "test/1346" 

      Reproduction Steps:

      Master / 7.3.x

      1. Create a Display Page Template (Design --> Page Templates --> Display Page Templates) with
        1. content type: "Web Content Article"
        2. sub-type: "Basic Web Content"
      2. Mark the created Display Page Template as default.
      3. Go to Content & Data --> Web Content, add a basic Web Content with the
        1. title: "article"
        2. friendlyURL: "test/1346"
          Note: the title needs to be different from the part of the Friendly URL before the "/".
      4. Open http://localhost:8080/en/web/guest/-/test/1346

      Actual Result:
      Not Found. The requested resource could not be found.
      Status code 404 in the browser console.

      Expected Result: The page opens successfully.

        Attachments

          Activity

            People

            Assignee:
            yang.cao Yang Cao
            Reporter:
            nikoletta.buza Nikoletta Buza
            Participants of an Issue:
            Recent user:
            Sophia Zhang
            Engineering Assignee:
            Jürgen Kappler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              13 weeks, 4 days ago

                Packages

                Version Package
                7.3.X
                7.3.7 CE GA8
                7.4.0 CE GA1
                Master