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

Application sorting ignores locale rules

Details

    Description

      Steps to reproduce:

      1. Create an app with a localized name "Área" for the Spanish Language. Alternatively you can edit the asset-publisher-web/src/main/resources/content/Language_es.properties file and set the translation for the javax.portlet.title.com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet key to Área.
      2. Deploy the app (or redeploy the Asset Publisher app)
      3. Change the language to Spanish (e.g. with the Language portlet).
      4. Open the Add panel and expand the category your app belongs to (for the Asset Publisher, it's "Gestión de Contenidos".

      Expected behavior: The app appears at the top of the list (Á is considered next to A in Spanish).
      Current behavior: The app appears at the bottom of the list. Titles are sorted lexicographically, based on the Unicode value of each character (Á comes lexicographically after Z). This ignores locale sorting rules in Spanish.

      Attachments

        1. 62.png
          62.png
          32 kB
        2. fix.png
          fix.png
          10 kB
        3. reproduce.png
          reproduce.png
          26 kB

        Issue Links

          Activity

            People

              melody.wu Melody Wu
              eduardo.garcia Eduardo García (Inactive)
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                6 years, 2 weeks, 5 days ago

                Packages

                  Version Package
                  6.2.X EE
                  7.0.1 CE GA2