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

Setting Binary Metadata does not work with some characters

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.3
    • Fix Version/s: 7.10
    • Component/s: Binary Metadata
    • Tags:
    • Sprint:
      TGV 8

      Description

      When setting a picture metadata, an error is trigerred if at least one field contains forbidden characters:

      contains illegal characters. It should match: [\p{L}_0-9-.%:=/\\ ]+
          at org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent.checkParameter(CommandLineExecutorComponent.java:217)
          at org.nuxeo.ecm.platform.commandline.executor.service.executors.AbstractExecutor.replaceParams(AbstractExecutor.java:90)
      
      

      This is a serious problem. For example, I have picture, who "Copyright" metadata is "(c) 2008 Some Name". It is imported with no problem, but when I edit the layout (using a toggle form with the pict schema), add some value and save, it fails because of this copyright

      The check applies even before exiftool is called. But having parenthesis and semicolon for example is normal (semicolon to split IPTC "Keywords" field for example.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                6 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: