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

adding "<" to liferay-plugin-package.properties results in stacktrace

    Details

      Description

      Description

      When one modifies the liferay-plugin-package.properties by adding < in the "short description," it results in a stacktrace when deploying the hook.

      Steps to Reproduce

      Simplified steps to reproduce.
      1. Create a hook using the following command in the hooks folder of the plugins SDK
      ./create.sh test-plugin-package-properties
      2. Update docroot/WEB-INF/liferay-plugin-package.properties so that the short description is set to <
      name=
      module-group-id=liferay-ee
      module-incremental-version=1
      tags=
      short-description=<
      change-log=
      page-url=http://www.liferay.com
      author=Liferay, Inc.
      licenses=EE
      liferay-versions=6.1.20+
      3. Deploy the plugin.

      Obtain-

      Caused by: org.dom4j.DocumentException: Error on line 11 of document : The content of elements must consist of well-formed character data or markup. Nested exception: The content of elements must consist of well-formed character data or markup.
      at org.dom4j.io.SAXReader.read(SAXReader.java:482)
      at org.dom4j.io.SAXReader.read(SAXReader.java:365)
      at com.liferay.portal.xml.SAXReaderImpl.read(SAXReaderImpl.java:396)
      ... 31 more

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 33 weeks, 6 days ago

                  Packages

                  Version Package
                  6.1.X EE
                  6.2.1 CE GA2
                  6.2.X EE