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

Wrong sort order of accented user names in User Admin portlet

    Details

      Description

      First/last names starting with non-ASCII characters (Ä, Ö, Ü, etc.) get sorted in wrong order in the User Admin portlet.

      Names starting with accented characters goes after all that start with ASCII chars when sorting order is ascending.

      I suspect the root of this issue is in the third-party bobo-browse library that doesn't utilize the locale provided when merging up search results. Although DocComparatorSource's inner class StringLocaleComparatorSource provides a locale-aware compare method, it isn't employed by SortCollectorImpl's MERGE_COMPATATOR [sic] class. It uses the sort value instead which is a plain String with accents. So locale-unaware compare takes place.

      I'll do a quick experiment with patching bobo-browse itself but a workaround on our side might be necessary.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  7 years, 5 weeks, 6 days ago

                  Packages

                  Version Package
                  6.1.X EE
                  6.2.0 CE B3