Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.0.1 CE GA2
-
6.2.x
-
Committed
-
1.5
-
3
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
Issue Links
- causes
-
LPS-66494 Reuse calling Collator.getInstance inside compare method when not needed
- Closed
- is a dependency of
-
LPS-73600 Portlet titles appearing in wrong alphabetical order in Apps - Plugins Configuration and in Apps - Components
- Closed
- relates
-
LPE-15901 Application sorting ignores locale rules
-
- Closed
-