Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-11043

Impossible to call only once the metadata extractor independantly of the method used to upload (e.g. explorer vs filesystems)

    Details

    • Bug Priority:
      Category 2
    • ACT Numbers:

      151343

      Description

      Customer asks us to consider MNT-835 a bug as a clean behaviour where one the metadata extractor is called only once independently of the method used to upload the content.

      How to reproduce?
      =================
      1) create a 4.0.1 plain vanilla (linux pg tomcat)
      2) set

      log4j.logger.org.alfresco.repo.content.metadata=debug
      log4j.logger.org.alfresco.repo.content.metadata.AbstractMappingMetadataExtracter=debug
      

      in your log4j file

      3) confirm that by default, uploading a JPG file for instance that has EXIF metadata

      a) in FTP does not call AbstractMappingMetadataExtracter
      b) in Explorer call once AbstractMappingMetadataExtracter

      4) apply the suggested workaround in MNT-835 and count how many times the extractor is called when
      a) upload in FTP
      b) upload in Explorer

      Results:
      =======
      a) AbstractMappingMetadataExtracter is called once
      a) AbstractMappingMetadataExtracter is called twice

      Desired Results:
      ================
      a) AbstractMappingMetadataExtracter is called once
      a) AbstractMappingMetadataExtracter is called once

      that is the extractor is called always once, independently of the way to upload.

      Note:
      =====
      1) This can be important for performance reasons when a customer writes a custom extractor that is CPU hungry (requires a lot of resources)
      2) if we decide to implement the change, then there should probably be a configuration flag that enables the new behaviour

        Attachments

          Structure

            Activity

              People

              • Assignee:
                closedissues Closed Issues
                Reporter:
                amadon Alex Madon [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Structure Helper Panel