Skip to content
Snippets Groups Projects
Commit 9dd4c09d authored by Christoph Lehmann's avatar Christoph Lehmann Committed by Georg Ringer
Browse files

[BUGFIX] Skip error when processing already deleted records

A record may be deleted already by an earlier call of deleteRecord()
which can occur by deleting records with tt_content IRRE elements
what is done by the gridelements extension.

This prevents the error "Attempt to delete record without delete-permissions"
which occurs in the second attempt where $hasEditAccess is false (as normal editor).

Resolves: #87351
Releases: master, 9.5
Change-Id: Ic697dcfe74f12a66d843deef5ae21d74b6209b69
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/59281


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
parent 6f2e9567
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment