Details
-
Bug
-
Resolution: Fixed
-
None
-
Critical
-
Fix problem with tbx import logging in binary data.
-
Empty show more show less
Description
Problem
The logger is not defined as class property in the
editor_Models_Terminology_Import_TbxBinaryDataImport
but it is used to log warnings (see code below).
$missingFiles = $imagesModel->purgeImageFiles($collectionId, array_column($tbxImagesCollection, 'uniqueName')); if(!empty($missingFiles)) { $this->logger->warn('E1028', 'TBX Import: there are image files in the database which are missing on the disk', [ 'termCollectionId' => $collectionId, 'missingFiles' => $missingFiles, ]); }