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

Document info icon not working if document name contains single quote

    Details

      Description

      Steps to reproduce:

      1. Upload a file (add Basic Document) and name the document with a single quote in it, for example Garfield's. Publish.
      2. Click on the document thumbnail to get to its detailed view.
      Result: Tomcat console writes out these error messages

      2018-10-08 11:16:43.678 ERROR [http-nio-8080-exec-4][GoogleJavaScriptMinifier:162] (http://localhost:8080/group/guest/~/control_panel/manage:332): Parse error. '}' expected [JSC_PARSE_ERROR]
      2018-10-08 11:16:43.679 ERROR [http-nio-8080-exec-4][GoogleJavaScriptMinifier:181] (http://localhost:8080/group/guest/~/control_panel/manage): 1 error(s), 0 warning(s)
      

      and if you click on the Info icon nothing happens.
      If you edit and rename the document by removing the single quote from its name, then the Info icon will work properly, by revealing the right-side panel with the document/file info.

        Attachments

          Activity

            People

            Assignee:
            beck.liu Beck Liu
            Reporter:
            istvan.dezsi Istvan Dezsi
            Participants of an Issue:
            Recent user:
            Csaba Turcsan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 1 week, 4 days ago

                Packages

                Version Package
                7.0.0 DXP FP60
                7.0.0 DXP SP9
                7.0.X
                7.1.10 DXP FP3
                7.1.1 CE GA2
                7.1.10.1 SP1
                7.1.X
                Master