Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-27079

Improve properties parsing in ExifToolProcessor

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.10
    • Fix Version/s: None
    • Component/s: Binary Metadata

      Description

      Hi,

      For a prospect POC, we had to manage a metadata mapping between metadata stored in PDF files (XMP) and Nuxeo.

      We used this extension point:

      http://explorer.nuxeo.com/nuxeo/site/distribution/Nuxeo%20Platform%20LTS%202019-10.10/viewExtensionPoint/org.nuxeo.binary.metadata--metadataMappings

      It works perfectly for String values but for Date ones (like XMP:CreateDate) they are not correctly parsed.

      Apparently there's a closed list of properties which are recognized as Date :

      https://github.com/nuxeo/nuxeo-binary-metadata/blob/master/src/main/java/org/nuxeo/binary/metadata/internals/ExifToolProcessor.java#L186

      As a workaround for our quick needs, we hardcoded the list ad built our own patched jar but maybe it could be interesting to improve the extension descriptor to handle this kind of mapping.

      What do you think? Did we miss something in the existing mechanism?

      I can provide files which contains date properties if needed or any complement of information.

      Regards

      Monique Ruggiero and Julien Marchal

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jmarchal Julien Marchal
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: