Issue Bug Rejected

#92985Cannot show record history of pages anymore in TYPO3 v10.4.10

Oliver Hader 12/04/20, 08:59 updated 01/05/22, 21:48

Description

> (1/3) Doctrine\DBAL\Exception\InvalidFieldNameException
> An exception occurred while executing ‘SELECT `uid` FROM `tx_impexp_presets` WHERE `pid` = ?’ with params > [81]: SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘pid’ in ‘where clause’
>
> …
>
> at TYPO3\CMS\Core\Database\Query\QueryBuilder->execute()
> typo3/sysext/backend/Classes/History/RecordHistory.php line 328

How to reproduce:

  • (update TYPO3 v10.4.9 to v10.4.10)
  • (impexp system extension must be enabled)
  • use context menu in page-tree to show record history

Reasons:

  • looks like https://review.typo3.org/c/Packages/TYPO3.CMS/+/66582 changes database definition and introduces new TCA table
  • records history iterates over all TCA tables – applying pid constraint for pages
  • pid column does not exist unless database migration in Install Tool was executed (which should not be required for patch level releases)
  • affects TYPO3 v10 only

Reviews 0

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