7.0.X, 7.1.X, 7.2.X, 7.3.X, Master
Steps to Reproduce:
- Start Liferay Portal 6.1
- Create an organization named Org1 and set site enabled to true.
- Inside Org1 create a child organization named Org2 and set site enabled to true.
- In Org1 create a category named Cat1.
- Perform an upgrade to the latest version.
- In Org2 site create a web content and try to select Cat1 as category.
Category should be visible because is inherited.
Category isn't visible because there's no site hierarchy in Group_ table regarding organizations.