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

              Assignee:
              nikki.prudencio Nikki Prudencio
              Reporter:
              nikki.prudencio Nikki Prudencio
              Participants of an Issue:
              Recent user:
              Yvonne Han
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 47 weeks ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 M4