Issue Bug Closed

#93418Unable to change page slug into a workspace, after page move.

Gianluca Strafella 02/03/21, 12:37 updated 04/19/21, 06:30

Description

Hello,
with these preconditions:
  • installation with multiples workspaces (but also only one)
  • core extension “redirects” installed (10.4.12)
  • With this pages tree:

live-step-1.png

Test 
    |_sub page 1
      |__page_1
         |_page_1_1
         |_page_1_2 
      |__page_2
         |_page_2_1
         |_page_2_2

*Step 1*
In a workspace, we move the page_1_2 from “page_1” under the page “page_2”.
After this step, the moved page is ok in backend and in frontend.

step-2.png

The page has still reached with this url:
http://typo310demo.local/test/sub-page-1/page-1/page-1-1

*Step 2*
We edit the page moved, and click on “Recalculate URL segment from page title” button. The slug changes properly and we see the message:
_This page will be reachable via http://typo310demo.local/test/sub-page-1/page-2/page-1-1_

We save the page. After save we see the message:
_Slugs updated
Because you renamed a slug, the slugs of all sub-pages were updated for you automatically._

*Step 3*
Now,if we select with the “Page” module the page moved “page_1_2”, the page appears ok on frontend.

*BUT*
if we click on the frontend menu, on the page moved, we see this error:
_The page did not exist or was inaccessible. Reason: ID was not an accessible page_

Same thing if we preview the new parent page “http://typo310demo.local/test/sub-page-1/page-2”. We see the menu, but if when we click and on the entry “page_1_1”, we see same error.

This problem causes that a backend operator cannot preview properly the tree after moving, and cannot show the moved page.

Thank you

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.