Affects Version/s: 7.0.X
Component/s: WCM > Navigation
When moving a page to be a child of another page, and then moving it to be the last page in navigation, the page's position is not maintained when refreshing the browser.
Steps to Reproduce:
1. Create 3 pages on the default site in a clean Liferay DXP bundle so that there are 4 pages total.
2. Move the third page (example name "test2") using the side-bar navigation and make it a child of the top page.
3. Refresh browser.
4. Now take the same page (test2) and move it from being a child to being the bottom page.
5. Refresh browser.
"test2" should be the last page in navigation.
"test2" is one page above the last page in navigation.
Issue reproduced in branch.
NOTE: In branch this issue is only reproducible when using the second or third page, not when using the 4th / bottom page.
Could not test in master, the side bar navigation does not exist in master.