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

Previously implemented singleton mode is not working

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: 6.1.20 EE GA2
    • Fix Version/s: 6.1.20 EE GA2
    • Labels:
    • Environment:
      LIFERAY VERSION: 6.1 GA2
      OPERATING SYSTEM: Red Hat Enterprise 6
      APPLICATION SERVER: Tomcat 7.0
      JAVA VIRTUAL MACHINE: Java 6
      DATABASE: Oracle 11.2

      Description

      The singleton mode added in LPS-15005 is no longer working in Liferay 6.1 GA2.

      Steps to reproduce:
      1. Define a singleton as described in LPS-15005
      2. Deploy portlet and receive the following error:

      18:04:31,168 ERROR [pool-2-thread-2][PortletLocalServiceImpl:758] com.liferay.portal.kernel.xml.DocumentException: Error on line 8 of document  : Attribute "singleton" must be declared for element type "header-portlet-javascript". Nested exception: Attribute "singleton" must be declared for element type "header-portlet-javascript".
      com.liferay.portal.kernel.xml.DocumentException: Error on line 8 of document  : Attribute "singleton" must be declared for element type "header-portlet-javascript". Nested exception: Attribute "singleton" must be declared for element type "header-portlet-javascript".
      

      The following elements in liferay-portlet.xml can specify the optional "singleton" attribute:

      header-portal-css
      header-portlet-css
      header-portal-javascript
      header-portlet-javascript
      footer-portal-css
      footer-portlet-css
      footer-portal-javascript
      footer-portlet-javascript

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              joshua.rodriguez Joshua Rodriguez (Inactive)
              Reporter:
              jeremy.marshall Jeremy Marshall (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 16 weeks, 1 day ago

                  Packages

                  Version Package
                  6.1.20 EE GA2