-
Type:
Bug
-
Status: Closed
-
Resolution: No Longer Reproducible
-
Affects Version/s: 7.2.X, Master
-
Fix Version/s: None
-
Component/s: User Management > Users & Organizations
-
Labels:
-
Fix Priority:3
Items are sorted differently depending on database. In some cases the case of the sort is ignored, in others it is considered.
Reproduction Steps:
- Add indexer.enabled[com.liferay.portal.kernel.model.Organization]=false to portal-ext.properties
- Configure bundle to connect to a MySQL database
- Start portal
- Go to Control Panel -> Users & Organizations -> Organizations
- Add the following organizations, "a", "B", "c", "Org 1", "org 2", and "Org 3".
- View the Organizations tab and make sure it's Order by Name.
- The results ordering should be "a", "B", "c", "Org 1", "org 2", "Org 3", also shown in attachments. This is also the ordering when the indexer is not disabled.
- Stop portal and remove the configuration to the MySQL database so that Hypersonic will be used.
- Start portal
- Go to Control Panel -> Users & Organizations -> Organizations
- Add the following organizations, "a", "B", "c", "Org 1", "org 2", and "Org 3".
- View the Organizations tab and make sure it's Order by Name.
Expected Results: Ordering should be "a", "B", "c", "Org 1", "org 2", "Org 3"
Actual Results: Ordering is case sensitive "B", "Org 1", "Org 3", "a", "c", "org 2".
- Discovered while testing
-
LPS-109731 OrganizationLocalServiceWhenSearchingOrganizationsTreeTest failing intermittently with ComparisonFailure: "was:<... userId=20128, uuid=["
- Closed