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

magic.xml file wrongly updated by Jenkins after 6.0 release

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 6.0-HF37
    • Component/s: Binary Metadata

      Description

      This is specific to Nuxeo 6.0.
      The issue does not occur with 7.10 and 8.10.

      see

      1. nuxeo-services/nuxeo-platform-mimetype-core/bin/main/magic.xml
      2. nuxeo-services/nuxeo-platform-mimetype-core/src/main/resources/magic.xml

      They contain parts like:

      <match>
        <mimetype>application/msword</mimetype>
        <extension>doc</extension>
        <description>%s</description>
        <test offset="2080" type="string" comparator="=">Microsoft Word 6.0-HF36 Document</test>
      </match>
      

      and

      <match>
        <mimetype>application/msword</mimetype>
        <extension>doc</extension>
        <description>Microsoft Word 6.0-HF36 Document</description>
        <test offset="0" type="string" comparator="=">PO^Q`</test>
      </match>
      

      In 7.10 or 8.0 this is clean:

      <match>
        <mimetype>application/msword</mimetype>
        <extension>doc</extension>
        <description>Microsoft Word 6.0 Document</description>
        <test offset="0" type="string" comparator="=">PO^Q`</test>
      </match>
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: