Project

General

Profile

Bug #92985

Updated by Oliver Hader almost 4 years ago

> (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

Back