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

Portlet permissions language bundle doesn't work correctly with multiple portlets


    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: 6.1.1 CE GA2
    • Fix Version/s: 6.1.1 CE GA2
    • Labels:
    • Environment:
      Windows Server 2008 R2, Liferay 6.1.1 CE GA2 Tomcat bundle, JDK 7, SQL server 2008 R2


      Scenario: 2 portlets (portlet-a and portlet-b) with permissions. Portlet A has permissions ACTION_A, ACTION_B and ACTION_C. Portlet B has permissions ACTION_D, ACTION_E and ACTION_F. These permissions are translated using the WEB-INF\classes\content\Language.properties.

      • I deploy Portlet A only. Everything works as expected as seen in scenario1.png.
      • I deploy Portlet A and B. The permissions for Portlet A are not translated anymore as seen in scenario2.png.
      • I add the content of Language.properties from Portlet A in the Language.properties of Portlet B and now the permissions of Portlet A are translated as seen in scenario3.png

      It seems the Language.properties of the last portlet (A-Z) are used for translation. I added the 2 test portlets (portlets.zip).


        1. liferay-hook.xml
          0.2 kB
          Tamas Molnar
        2. portlet-a.war
          3.32 MB
          NWO Isaac
        3. portletA-portlet-
          20 kB
          Tamas Molnar
        4. portlet-b.war
          3.32 MB
          NWO Isaac
        5. portletB-portlet-
          21 kB
          Tamas Molnar
        6. scenario1.png
          39 kB
          NWO Isaac
        7. scenario2.png
          42 kB
          NWO Isaac
        8. scenario3.png
          39 kB
          NWO Isaac



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


              • Created:
                Days since last comment:
                6 years, 42 weeks, 2 days ago


                Version Package
                6.1.1 CE GA2