Issue Bug Closed

#92779Moving pages in workspaces multiple times creates broken db state

Christian Kuhn 11/05/20, 14:22 updated 12/22/20, 11:03

Description

Redroduce:

  • create 3 pages in live: “target-1”, “target-2” und “page-to-move”
  • go to workspace
  • move “page-to-move” below “target-1” -> this will create 2 db records one t3ver_state 3, one t3ver_state 4, both have their pid set to the uid of “target-1”
  • move “page-to-move” again, this time below “target-2” -> this will update pid of t3ver_state=3 record to uid of “target-2”, but it does NOT update pid of the t3ver_state=4 record!

-> result: “page-to-move” lost correct connection to page tree, especially if “target-1” page is deleted later, which leads to all sorts of issues:
page module language view fatals, formEngine of “move-to-page” record renders a “some uid not found” message instead of opening the page record, list module can no longer resolve the Site object and shows no flags.

Reviews 2