Bug #92985

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

Added by Oliver Hader about 1 month ago. Updated about 1 month ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2020-12-04
Due date:
% Done:

0%

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

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

Files


Related issues

Related to TYPO3 Core - Task #92346: Enable ext:impexp to include export presets in exportClosed2020-09-19

Actions
#1

Updated by Oliver Hader about 1 month ago

  • Description updated (diff)
#3

Updated by Oliver Hader about 1 month ago

  • Related to Task #92346: Enable ext:impexp to include export presets in export added
#4

Updated by Oliver Hader about 1 month ago

  • Category set to Backend User Interface
#5

Updated by Oliver Hader about 1 month ago

  • Is Regression changed from Yes to No

Solvable by execution database migration in Install Tool (thus, not a blocking regression).

Also available in: Atom PDF