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

The single quote character (apostrophe) in the title of a web content with custom structure generates a javascript error in the administration

    Details

      Description

      Steps to reproduce:

      1)Deploy resources-importer-web
      2) Create a new web content structure (eg only with a single text field)
      3) Create a new content with the structure created at point 1
      4) Put a title with an apostrophe in the text ( eg: a-bug's-life )
      5) Publish the content (you need to create the template first)
      6) Try to edit content

      The apostrophe close a Javascript string. It is probably enough to escape the string to fix it.

      There isn't this bug in the basic web contents.

        Attachments

          Activity

            People

            Assignee:
            haoliang.wu Haoliang Wu (Inactive)
            Reporter:
            npasquetto Niccolò Pasquetto
            Participants of an Issue:
            Recent user:
            Marta Elicegui
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              4 years, 50 weeks, 5 days ago

                Packages

                Version Package
                6.2.X EE