Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-3167

Logger is missing in TbxBinaryDataImport class

    XMLWordPrintable

Details

    • Critical
    • Fix problem with tbx import logging in binary data.
    • -

    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,
          ]);
      } 

       

      Attachments

        Activity

          People

            aleksandar Aleksandar Mitrev
            aleksandar Aleksandar Mitrev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: