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

A leading slash must not be mandatory for an article's Friendly URL

Details

    • 6.2.x
    • 6
    • LDN Sprint to Oct 14, 2015, LDN Sprint to Oct 21, 2014, LDN Sprint to Oct 28, 2014, LDN Sprint to Nov 4, 2014, LDN Sprint to Nov 11, 2014, LDN Sprint to Nov 18, 2014
    • Regression Bug

    Description

      A Knowledge Base Article, whether added/modified manually or via the importer, must not be required to start with a slash '/' character.

      On importing a Knowledge Base Article that has a valid friendly URL value that has no leading slash character, the import fails. The following message is reported ...

      URL title must start with a '/' and contain only alphanumeric characters, dashes, and underscores

      Markdown files pass in the URL titles via an ID variable in their header ...

      # Installation and Setup [](id=installation-and-setup)

      This URL title specifies no leading slash; and that should be acceptable.

      To Reproduce:
      1. Add a KB folder and navigate into it.
      2. Import the attached ZIP into the KB.

      Actual results:
      The import fails and the following message is displayed in the portal ...

      URL title must start with a '/' and contain only alphanumeric characters, dashes, and underscores

      Expected results:
      A KB article titled _ Installation and Setup_ should import along with its content. On inspecting the KB article via Actions > Edit, the article's content should be present in the editor and the article's friendly URL should end with installation-and-setup. This URL title should not be truncated.

      Also, please make sure the article can be re-imported without creating a duplicate. Thanks.

      Attachments

        1. fixed.png
          fixed.png
          55 kB
        2. lp-6.2-discover-deployment.zip
          3.71 MB
        3. reproduced.png
          reproduced.png
          33 kB

        Issue Links

          Activity

            People

              yvonne.han Yvonne Han
              james.hinkey James Hinkey (Inactive)
              Marta Elicegui Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                8 years, 29 weeks, 1 day ago

                Packages

                  Version Package
                  6.2.X EE
                  7.0.0 M2