Bug #103101
closedOut of range value for column 'recuid'
100%
Description
Core: Exception handler (WEB): Uncaught TYPO3 Exception: An exception occurred while executing 'INSERT INTO `sys_log` (`userid`, `type`, `channel`, `level`, `action`, `error`, `details_nr`, `details`, `log_data`, `tablename`, `recuid`, `IP`, `tstamp`, `event_pid`, `NEWid`, `workspace`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' with params [7, 1, "content", "info", 4, 1, 14, "Attempt to move record \"\" () without having permissions to do so. []", "a:3:{i:0;s:10:\"[No title]\";i:1;s:8:\"pages:-1\";i:2;s:35:\"ERROR: Record could not be fetched.\";}", "pages", -1, "91.112.x.x", 1706278593, 0, "", 0]: Out of range value for column 'recuid' at row 1 | Doctrine\DBAL\Exception\DriverException thrown in file vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php in line 128.
Obviously the page uid `-1` is not allowed.
Updated by Markus Klein 11 months ago
The causing line seems to be \TYPO3\CMS\Core\DataHandling\DataHandler::moveRecord:
if (!$mayEditAccess) {
$this->log($table, $uid, SystemLogDatabaseAction::MOVE, 0, SystemLogErrorClassification::USER_ERROR, 'Attempt to move record "{title}" ({table}:{uid}) without having permissions to do so [{reason}]', 14, ['title' => $propArr['header'], 'table' => $table, 'uid' => $uid, 'reason' => $this->BE_USER->errorMsg], $propArr['event_pid']);
return;
}
Updated by Gerrit Code Review 11 months ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82897
Updated by Gerrit Code Review 11 months ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82897
Updated by Gerrit Code Review 11 months ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82897
Updated by Gerrit Code Review 11 months ago
Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/83336
Updated by Gerrit Code Review 11 months ago
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/83337
Updated by Markus Klein 11 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset b616ceae355c60ea57422500366521b79db19fe3.