Module version(s) affected
3.1.11 and 3.2.0
Description
I upgrade a website with a lot of pages from SilverStripe 5.3 to 6.2..
The issue is that when I open a page on the 4th level (below as great-grandchild-page) the menu refreshes and ‘closes’ all pages. It shows only the YourSiteName.
-YourSiteName
page
child-page
grandchild-page
great-grandchild-page
I tried to use version 6.1, but got the same result.
I then tried to replicate the issue on a new install, but couldn't.
Then I tested the issue a bit further on my upgraded site. I noticed that the 3rd level doesn't show the CMS tree properly either. This falls back to showing only the top-level pages (those shown when initially entering the admin area).
The issue seems to have to do with the first refresh of the CMS tree when selecting the first page after entering the Page area. If this refresh had happened by selecting a page on an upper level the pages on the 3rd and 4th level work fine. If a page on the 3rd and lower level is the first page selection/first CMS tree refresh the CMS tree collapses.
My testing:
Test 1: Entering the admin area (landing on the Pages area), navigating to the 4th level by clicking only on the icon and the selecting the 4th level -> fails => CMS tree refreshes and collapses showing only the YourSiteName
Test 2: Clicking on the Files area and then going back to the Pages area, selecting a page on the third level ( grandchild-page) -> fails => CMS tree refreshes and collapses back to show only top level pages
Test 3: Clicking on the Files area and then going back to the Pages area, selecting a page on the second (child-page) level -> passes => CMS tree refreshes and shows as expected. Clicking on the 4th level page after that, the entire CMS tree stays in place
Test 4: Clicking on the Files area and then going back to the Pages area, selecting a page on the top-level -> passes => CMS tree refreshes and shows as expected. Then clicking down the tree (only on the icons) to the 4th level page of a different top-page and selecting this -> passes => the entire CMS tree stays in place (no refresh)
Test 5: Repeating test 4 but by freshly logging into the admin area => same result as test 4.
How to reproduce
I could not reproduce the issue with a new installation. Maybe I needed more pages to reproduce it. It might be related to the issue #2137 in terms of the amount of pages needed to replicate this.
Possible Solution
No response
Additional Context
No response
Validations
Module version(s) affected
3.1.11 and 3.2.0
Description
I upgrade a website with a lot of pages from SilverStripe 5.3 to 6.2..
The issue is that when I open a page on the 4th level (below as great-grandchild-page) the menu refreshes and ‘closes’ all pages. It shows only the YourSiteName.
-YourSiteName
page
child-page
grandchild-page
great-grandchild-page
I tried to use version 6.1, but got the same result.
I then tried to replicate the issue on a new install, but couldn't.
Then I tested the issue a bit further on my upgraded site. I noticed that the 3rd level doesn't show the CMS tree properly either. This falls back to showing only the top-level pages (those shown when initially entering the admin area).
The issue seems to have to do with the first refresh of the CMS tree when selecting the first page after entering the Page area. If this refresh had happened by selecting a page on an upper level the pages on the 3rd and 4th level work fine. If a page on the 3rd and lower level is the first page selection/first CMS tree refresh the CMS tree collapses.
My testing:
Test 1: Entering the admin area (landing on the Pages area), navigating to the 4th level by clicking only on the icon and the selecting the 4th level -> fails => CMS tree refreshes and collapses showing only the YourSiteName
Test 2: Clicking on the Files area and then going back to the Pages area, selecting a page on the third level ( grandchild-page) -> fails => CMS tree refreshes and collapses back to show only top level pages
Test 3: Clicking on the Files area and then going back to the Pages area, selecting a page on the second (child-page) level -> passes => CMS tree refreshes and shows as expected. Clicking on the 4th level page after that, the entire CMS tree stays in place
Test 4: Clicking on the Files area and then going back to the Pages area, selecting a page on the top-level -> passes => CMS tree refreshes and shows as expected. Then clicking down the tree (only on the icons) to the 4th level page of a different top-page and selecting this -> passes => the entire CMS tree stays in place (no refresh)
Test 5: Repeating test 4 but by freshly logging into the admin area => same result as test 4.
How to reproduce
I could not reproduce the issue with a new installation. Maybe I needed more pages to reproduce it. It might be related to the issue #2137 in terms of the amount of pages needed to replicate this.
Possible Solution
No response
Additional Context
No response
Validations
silverstripe/installer(with any code examples you've provided)