#102700'Undefined array key "uid" 'in FileDeletionAspect::cleanupCategoryReferences()
Description
In FileDeletionAspect::cleanupCategoryReferences() there is the Null Coalescing operator used for not accessing the possibly not existing key ‘_ORIG_uid’, and uses instead ‘uid’. But the latter might also not have been set.
// Retrieve the file metadata uid which is different from the file uid. $metadataProperties = $fileObject->getMetaData()->get(); $metaDataUid = $metadataProperties['_ORIG_uid'] ?? $metadataProperties['uid'];
Reviews 2
History 25
-
Gerrit Code Review pushed patch set 1 for main to change 82262 status
NewUnder Review 12/20/23, 11:50 -
Gerrit Code Review pushed patch set 2 for main to change 82262 12/20/23, 11:58
-
Gerrit Code Review pushed patch set 1 for 12.4 to change 82247 12/21/23, 22:56
-
Oliver Bartsch commented and changed status
Under ReviewResolved done0 %100 % 12/21/23, 23:10 -
Benni Mack changed status
ResolvedClosed 07/09/24, 15:12
Applied in changeset commit:41309a8ef2db5ec43c784adb511a7e171eb65616.