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


    • 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


      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.


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

        Issue Links



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


                8 years, 29 weeks, 1 day ago


                  Version Package
                  6.2.X EE
                  7.0.0 M2