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

getUniqueUrlTitle can generate titles which will throw DuplicateFriendlyURLEntryException

    Details

      Description

      Creating multiple articles with the same title fails when title contains special characters like "!", "?" and "-"

      Steps to reproduce:

      1. Start Liferay, login and navigate to web contents
      2. Create a (basic) web content article with the title "Lorem!"
      3. Create a (basic) web content article with the title "Lorem!"
      4. Create a (basic) web content article with the title "Lorem!"

      Expected behaviour: The operation to succeed

      Actual behaviour: The operation fails with:

      Error: Your request failed to complete.

       

        Attachments

          Activity

            People

            Assignee:
            yang.cao Yang Cao
            Reporter:
            balazs.safrany-kovalik Balázs Sáfrány-Kovalik
            Participants of an Issue:
            Recent user:
            Jason Pince
            Engineering Assignee:
            Balázs Sáfrány-Kovalik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 28 weeks, 3 days ago

                Packages

                Version Package
                7.1.10 DXP FP17
                7.1.10.4 SP4
                7.1.X
                7.2.10 DXP FP5
                7.2.10.2 DXP SP2
                7.2.X
                7.3.1 CE GA2
                7.3.2 CE GA3
                7.3.10 DXP GA1
                Master