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

Custom portlet title localization fails if you change title in non-default language first

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Inactive
    • Affects Version/s: 6.1.0 CE GA1, 6.1.20 EE GA2, 6.2.0 CE M2
    • Fix Version/s: None
    • Environment:
      Tomcat 7.0.27 + MySQL 5. Portal 6.1.x EE GIT ID: 4774c6e719b2c38fb8a86fd9357f255ad4998e85.
      Tomcat 7.0.27 + MySQL 5. Portal 6.2.x GIT ID: 40bafe1f0e5df30236f348a368757f8943e9c833.
    • Fix Priority:
      2

      Description

      Reproduce thus:

      1. Find or create a portlet that uses <portlet-info> in its portlet.xml (currently only "Hello World"-porlet of the preinstalled ones)

      2. Put the portlet on any page.

      3. Change language from english to whatever

      4. Change title of portlet

      5. Navigate back to english language

      6. Now the portlet title is lost and all javascript is failing, including removing the portlet...

      Took me a while to find this one... The workaround is easy, just don't use <portlet-info> to set title, but use javax.portlet.title in the resource bundle instead.

        Attachments

          Activity

            People

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

              Dates

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