#108853Editors can't delete records on pid=0
Description
This occurs in TYPO3v14.
If an editor with access to the table sys_redirect tries to delete a record on the pid 0 (using the Link module)
an exception is thrown:
clipboard-202602041223-iglei.png
This behaviour should also be reproducable with other records.
After some debugging, this seems to be a regression of: 88445: [TASK] Streamline DataHandler permission checks | https://review.typo3.org/c/Packages/TYPO3.CMS/+/88445
Reviews 3
Related issues 2
Files 1
History 612
-
Gerrit Code Review pushed patch set 1 for main to change 92663 status
NewUnder Review <span data-processor="relativetime" data-value="2026-02-04T13:22:00+00:00" > 02/04/26, 13:22 </span> -
Gerrit Code Review pushed patch set 2 for main to change 92663 <span data-processor="relativetime" data-value="2026-02-04T14:51:28+00:00" > 02/04/26, 14:51 </span>
-
Oliver Hader changed Related to #106382 <span data-processor="relativetime" data-value="2026-02-04T16:17:11+00:00" > 02/04/26, 16:17 </span>
-
Oliver Hader commented <span data-processor="relativetime" data-value="2026-02-04T16:19:21+00:00" > 02/04/26, 16:19 </span>
Before the mentioned patch the scenario was:
$pageRec = $this->doesRecordExist_pageLookUp($output['pid'], $perms); // Return TRUE if either a page was found OR if the PID is zero AND the user is ADMIN (in which case the record is at root-level): $isRootLevelRestrictionIgnored = BackendUtility::isRootLevelRestrictionIgnored($table); if (is_array($pageRec) || !$output['pid'] && ($this->admin || $isRootLevelRestrictionIgnored)) { return $output; } -
Gerrit Code Review pushed patch set 3 for main to change 92663 <span data-processor="relativetime" data-value="2026-02-04T16:38:32+00:00" > 02/04/26, 16:38 </span>
-
Gerrit Code Review pushed patch set 4 for main to change 92663 <span data-processor="relativetime" data-value="2026-02-05T08:51:26+00:00" > 02/05/26, 08:51 </span>
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 92675 <span data-processor="relativetime" data-value="2026-02-05T08:54:32+00:00" > 02/05/26, 08:54 </span>
-
Gerrit Code Review pushed patch set 2 for 13.4 to change 92675 <span data-processor="relativetime" data-value="2026-02-05T09:12:47+00:00" > 02/05/26, 09:12 </span>
-
Bastien Lutz commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-02-05T09:15:10+00:00" > 02/05/26, 09:15 </span>Applied in changeset commit:3fa505a3613a39a28d825e27957d29306d9b81b9.
-
Albrecht Köhnlein changed Related to #106928 <span data-processor="relativetime" data-value="2026-02-10T15:41:20+00:00" > 02/10/26, 15:41 </span>
-
Benni Mack changed status
ResolvedClosed <span data-processor="relativetime" data-value="2026-03-31T08:10:44+00:00" > 03/31/26, 08:10 </span>
See: https://review.typo3.org/c/Packages/TYPO3.CMS/+/88445/55/typo3/sysext/core/Classes/DataHandling/DataHandler.php#b7506