Tika scheduler tasks overrides existing title
I'm using 2.0.0-dev, on TYPO3 6.2.14 with FAL and Solr.
The scheduler "File Abstraction Layer: Extract metadata in storage (scheduler)" is running every 86400 sec.
The editor uploads a file (PDF exported from PowerPoint) and changes the title of the Document.
Once a day the scheduler scans the files and changes the title (and all the other meta-data) to the info from the document and the user-changed title will be overwritten.
Problem is located in:
tika/Classes/Resource/MetaDataIndexer.php->extractMetaData() on Line 164:
"$metaData = array_merge($output, $previousExtractedData);" should be
"$metaData = array_merge($previousExtractedData, $output);" to avoid this.
Is there a reason for this or is it just a bug?