-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2021.40, 2023.1
-
Component/s: Renditions, Rest API
-
Tags:
-
Sprint:nxplatform #101
-
Story Points:3
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