AnsweredAssumed Answered

Metadata extraction to tags is concatenating tags

Question asked by jeffrosler on Jan 4, 2016
Latest reply on Jan 18, 2016 by jeffrosler
Has anyone else seen this? I configured tag mapping per Ray's blog post https://www.alfresco.com/blogs/developer/2013/05/31/metadata-extraction-to-tags/, but I get all of my embedded metadata keywords concatenated into a single comma separated tag, rather than separate tags in Alfresco 5.0.d.

I should mention that this happened to me for jpg, and PDF content as well as with docx with a slight mapping change.

I turned on TRACE debugging for org.alfresco.repo.action.executer.ContentMetadataExtracter and see that in the addTags method, the rawValue is a collection with a single value that is a comma separated string with my two keywords (foo and bar) in it.

2016-01-05 09:32:53,220  TRACE [action.executer.ContentMetadataExtracter] [http-bio-8080-exec-21] adding string tag 'foo, bar' to workspace://SpacesStore/60458b43-c123-41b5-a7b0-ab2689c1688a

Outcomes