[MNT-15024] Metadata overwrite policy can be set via alfresco-global.properties Created: 20-Oct-15  Updated: 07-Oct-19  Resolved: 04-Nov-16

Status: Closed
Project: Service Packs and Hot Fixes
Component/s: Tika, POI, and Metadata Extraction
Affects Version/s: 5.0.2
Fix Version/s: 5.2

Type: Improvement
Reporter: Ricardo Vellozo Assignee: Closed Bugs (Inactive)
Resolution: Fixed Votes: 0
Labels: CommunityPainPoints
Remaining Estimate: 0 minutes
Time Spent: 2 days, 3 hours, 15 minutes
Original Estimate: Not Specified

Ubuntu 12.04 LTS X64 | MySQL 5.6 | Tomcat 7.0.59

Attachments: PNG File Screen Shot 2016-10-27 at 15.07.33.png     PDF File Supported Platforms for Alfresco Enterprise 4.2.x.pdf     PDF File Supported Platforms for Alfresco Enterprise 5.0.pdf     XML File custom-metadata-extrators-context.xml     PNG File onCreate.png     PNG File onUpdate.png    
Issue Links:
relates to MNT-14924 Upload new version with different fil... Closed
relates to MNT-16328 CLONE Cloud - Upload new version with... Closed
relates to MNT-9255 Metadata of a document should be extr... Closed
Bug Priority:
Category 3
ACT Numbers:

00536901, 00683587

Premier Customer:
Build Location: https://bamboo.alfresco.com/bamboo/browse/ALF-EREPO28-362


Steps to reproduce

  1. Deploy custom-metadata-extrators-context.xml (attached) to extension folder (which maps PDF producer to cm:taggable)
  2. Create folder: folder1
  3. Create two rules in folder1 (see screenshot for rules definition)
  4. Upload Supported Platforms for Alfresco Enterprise 4.2.x.pdf (attached) into folder1
  5. Confirm tag is microsoft® word 2013
  6. Trigger action: Upload New Version and upload Supported Platforms for Alfresco Enterprise 5.0.pdf (attached)

Actual result
Tag remains: microsoft® word 2013

Expected result
Tag to be LibreOffice 4.2


  • Also reproducible with the OOTB mappings, title=cm:title
  • Image extractor works as expected, that is, image height will be updated on Upload New Version.
  • Log shows the correct mapping:
    2015-10-20 12:03:08,955 DEBUG [org.alfresco.repo.content.metadata.AbstractMappingMetadataExtracter] [http-bio-8080-exec-4] Converted extracted raw values to system values: 
     producer=LibreOffice 4.2, Content-Type=application/pdf}
      System Properties: {{http://www.alfresco.org/model/content/1.0}taggable=LibreOffice 4.2}

Generated at Fri Feb 26 04:48:22 GMT 2021 using Jira 7.13.15#713015-sha1:7c5ddd2c3e1709974ae9c48c17df8edd3919fe2c.