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

Fix converter 'image2pdf'

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.10
    • Fix Version/s: 10.10-HF48, 11.x, 2021.4
    • Component/s: Convert
    • Release Notes Summary:
      All image MIME types can be converted to PDF.
    • Backlog priority:
      800
    • Sprint:
      nxplatform #35
    • Story Points:
      2

      Description

      When an image is store in a document type that does not have the Picture facet (e.g. File), any feature that needs a conversion to PDF (e.g the PDF rendition, or the publication with PDF rendition) fails if the image is other than JPEG, PNG, or GIF. See converter image2pdf.

      How to reproduce:

      • create a document of type File with a TIFF image as main blob
      • get its PDF rendition

      Expected result: the download of the PDF rendition starts.
      Actual result: the download of the PDF rendition does not start.

      Workaround: deploy the following XML extention:

        <require>org.nuxeo.ecm.platform.convert.plugins</require>
      
        <extension target="org.nuxeo.ecm.core.convert.service.ConversionServiceImpl" point="converter">
      
          <converter class="org.nuxeo.ecm.platform.convert.plugins.Image2PDFConverter" name="image2pdf">
            <sourceMimeType>image/*</sourceMimeType>
          </converter>
      
        </extension>
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.