-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Duplicate
-
Affects Version/s: 2023.1
-
Fix Version/s: 2023.5
-
Component/s: Renditions
-
Tags:
-
Backlog priority:700
-
Sprint:nxplatform next
Since 2023.1 the thumbnail rendition of a document of type Folder fails with the following stacktrace:
2023-12-15T11:25:24,505 WARN [http-nio-0.0.0.0-8080-exec-10] [org.nuxeo.ecm.webengine.app.WebEngineExceptionMapper] org.nuxeo.ecm.webengine.model.exceptions.IllegalParameterException: No blob holder for doc: DocumentModelImpl(43489c4a-fce2-4800-ad0e-a48f1da503b0, path=/default-domain/workspaces/SUPNXP-49093/SUPNXP-49093-Folder, title=SUPNXP-49093-Folder) org.nuxeo.ecm.webengine.model.exceptions.IllegalParameterException: No blob holder for doc: DocumentModelImpl(43489c4a-fce2-4800-ad0e-a48f1da503b0, path=/default-domain/workspaces/SUPNXP-49093/SUPNXP-49093-Folder, title=SUPNXP-49093-Folder) at org.nuxeo.ecm.restapi.server.jaxrs.rendition.RenditionObject.getRenditionBlob(RenditionObject.java:94) ~[nuxeo-rest-api-server-2023.4.25.jar:?] at org.nuxeo.ecm.restapi.server.jaxrs.rendition.RenditionObject.doGet(RenditionObject.java:106) ~[nuxeo-rest-api-server-2023.4.25.jar:?] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.base/java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) ~[jersey-server-1.19.4.jar:1.19.4] at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ObjectOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:258) ~[jersey-server-1.19.4.jar:1.19.4] at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) ~[jersey-server-1.19.4.jar:1.19.4] ...
It is an issue in the Web UI as it uses it through the REST endpoint rendition/thumbnail when listing folderish documents.
How to reproduce:
- fire up a 2023.1 Nuxeo instance with addon nuxeo-web-ui
- in a workspace, create a document of type Folder
- navigate back to the workspace
Expected result: an icon is rendered in the workspace's listing for the created Folder document
Actual result: no icon is rendered in the workspace's listing for the created Folder document (see screenshot below)
It seems to be caused by NXP-32054.
A workaround is to add the following line in the nuxeo.conf file:
nuxeo.rendition.legacy.enabled=true