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

Cannot select a Document in Web Content Portlet when its title contains single quote

    Details

      Description

      The 'Choose' button does not work when the document's name contains one apostrophe (single quote)

      Reproduce issue:
      1. Create a Document with a single quote in title, like: "I'm test."
      2. Create a Web Content Structure which contains a Document and Media field
      3. Add a new Web Content with the created structure.
      4. Select the Document then click "Choose" with the title containing the single quote (apostrophe)

      The log in firebug:
      missing ) after argument list
      [Break On This Error]

      ...-bdcc-1de409b91656', 'Test title with ' apostrophe', '1.0'); Liferay.Util.getWin...
      manage...upId=19 (line 1, col 199)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pani.gui Pani Gui (Inactive)
              Reporter:
              peter.borkuti Peter Borkuti (Inactive)
              Participants of an Issue:
              Recent user:
              Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 3 weeks, 4 days ago

                  Packages

                  Version Package
                  6.1.1 CE GA2
                  6.1.20 EE GA2
                  --Sprint 11/12
                  6.2.0 CE M2