Project

General

Profile

Actions

Bug #104680

open

BackendUtility::workspaceOL does not handle deleted pages

Added by Christian Weiske 2 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2024-08-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

A page record deleted in a workspace is still available when overlaying it with BackendUtility::workspaceOL().

Example

  • Page #1 exists in live workspace
  • Page #1 gets deleted in test workspace, creating a pages record with pages.t3ver_state = 2 (VersionState::DELETE_PLACEHOLDER)

My custom backend code fetches a list of page UIDs and runs BackendUtility::workspaceOL() on them. The record of deleted page #1 does not get set to false as it is done when doing the same in the frontend with $GLOBALS['TSFE']->sys_page->versionOL.

How am I supposed to know that the page has been deleted when BackendUtility::workspaceOL() does not do that?


This problem should apply to v12 and v13 as well. I could not find any changelog entries.

No data to display

Actions

Also available in: Atom PDF