Affects Version/s: 6.1.X EE, 6.2.X EE
1. Set "layout.manage.pages.initial.children=3" in portal-ext.properties for ease of test-ability.
2. Go to "Site Administration/Site Pages" and create a such page structure where there are more then 3 children pages.
3. Save pages, you can see that "Load More Results" link will be shown.
4. Click on "Load More Results". Next pages will be loaded (max 3).
5. Save pages again.
Expected behavior: After save pages the all loaded pages should be displayed.
Actual behavior: After save pages only the first 3 pages and the "Load More Results" are displayed.
=== Technical background
Parameters groupId, privateLayout and treeId cannot be retrieved from the request in LayoutsTreeUtil#_getLoadedLayoutsCount in some cases.