Skip to content
Snippets Groups Projects
Commit 72f25722 authored by Oliver Bartsch's avatar Oliver Bartsch Committed by Nikita Hovratov
Browse files

[BUGFIX] Prevent 'Undefined array key' in FileDeletionAspect

Properly check for valid meta data record
to prevent 'Undefined array key' error on
deleting a file.

Meta data record might not exists, because
the file might have not been indexed or
simply because the record was manually deleted.

Additionally, some code clean up is done.

Resolves: #102700
Releases: main, 12.4
Change-Id: Ibf8a0d53b40f08b60064583d5f28762c25d75937
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82247


Reviewed-by: default avatarNikita Hovratov <nikita.h@live.de>
Tested-by: default avatarNikita Hovratov <nikita.h@live.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
parent 8e54ff8e
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