Issue Bug Closed

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

Daniel Siepmann 12/21/22, 08:14 updated 07/04/23, 10:18

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.

Reviews 0

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