Project

General

Profile

Actions

Bug #99401

closed

#1381512761 TYPO3\CMS\Core\Type\Exception\InvalidEnumerationValueException Invalid value "-1" for enumeration "TYPO3\CMS\Core\Versioning\VersionState"

Added by Daniel Siepmann almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2022-12-21
Due date:
% Done:

0%

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

Description

This happened after updating from 11 LTS to 12.1.3.

Steps to reproduce:
  • Have an database with pages having t3ver_state -1.
  • Switch to a workspace
  • Open Page module (Page Tree)

The exception happens within the Page Tree Ajax request and is not visible within the backend. Only a red notification will be shown.

A workaround that seems to work is to execute:

update pages set deleted = 1 where t3ver_state = -1;

I had the pages twice, with -1 and 1.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Task #96156: Remove obsolete VersionState constantsClosedBenni Mack2021-11-30

Actions
Related to TYPO3 Core - Task #92791: Remove "new placeholders" in workspacesClosedBenni Mack2020-11-07

Actions
Actions

Also available in: Atom PDF