Affects Version/s: 7.1.X, 7.2.X
Branch Version/s:7.2.x, 7.1.x, 7.0.x
Backported to Branch:Committed
Steps to Reproduce
- Start up Liferay connected to a MySQL database
- Sign in as admin
- Navigate to Control Panel > Configuration > Server Administration
- Go to the Script tab
- Run the following Groovy script:
- Inspect the AssetCategory table in the database
- Check the various rows in the AssetCategory table, and assert that some rows are showing duplicate leftCategoryId and rightCategoryId as the previous entry.
Rows are showing duplicate leftCategoryId and rightCategoryId in multiple rows.
Rows should have unique leftCategoryId and rightCategoryIds.