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

Knowledge Base crashes when importing zip with markdown files

Details

    Description

      Steps to Reproduce:

      1. Navigate to Knowledge Base admin through Admin > Control Panel > Knowledge Base.
      2. Click on Add.
      3. Click on Import.
      4. Import a zip file with a markdown file (attached to this ticket).

      Expected result: Zip file is imported without any errors.

      Actual result: Knowledge Base crashes.

      Exception thrown:

      19:25:06,085 ERROR [http-bio-7080-exec-10][render_portlet_jsp:132] null
      java.lang.StringIndexOutOfBoundsException: String index out of range: -1

      Attachments

        Issue Links

          Activity

            People

              nikki.prudencio Nikki Prudencio
              nikki.prudencio Nikki Prudencio
              Marta Elicegui Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                7 years, 38 weeks, 6 days ago

                Packages

                  Version Package
                  6.2.X EE
                  7.0.0 M4