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

New rendition adapter async behavior expects input document to hold a blob

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2021.40, 2023.1
    • Fix Version/s: 2021.47, 2023.5
    • Component/s: Renditions, Rest API

      Description

      NXP-31855 breaks renditions if the document doesn't have the file schema, which is not a requirement in the legacy behavior.

      For example, I have a document type which doesn't have the file schema but still has the thumbnail one. using the rest adapter @rendition/thumbnail now fails with the following error:

      org.nuxeo.ecm.webengine.model.exceptions.IllegalParameterException: No blob holder for doc: DocumentModelImpl

      Works fine with the legacy behavior nuxeo.rendition.legacy.enabled=true

      No blobholder
      https://github.com/nuxeo/nuxeo-lts/blob/398d3d6e616133df93fc0a6a32c0e599aa0b3c48/m[…]n/java/org/nuxeo/ecm/platform/rendition/work/RenditionWork.java
      should be treated as not blob
      https://github.com/nuxeo/nuxeo-lts/blob/398d3d6e616133df93fc0a6a32c0e599aa0b3c48/m[…]n/java/org/nuxeo/ecm/platform/rendition/work/RenditionWork.java 

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: