Currently the blob is set without a filename which breaks the UI if the CloudFront integration is enabled
Caused by: java.lang.NullPointerException at org.nuxeo.common.utils.RFC2231.encodeRFC2231(RFC2231.java:80) ~[nuxeo-common-2021.6.4.jar:?] at org.nuxeo.common.utils.RFC2231.encodeContentDisposition(RFC2231.java:123) ~[nuxeo-common-2021.6.4.jar:?] at org.nuxeo.ecm.blob.AbstractCloudBinaryManager.getContentDispositionHeader(AbstractCloudBinaryManager.java:256) ~[nuxeo-core-binarymanager-common-2021.6.4.jar:?] at org.nuxeo.ecm.core.storage.sql.CloudFrontBinaryManager.getRemoteUri(CloudFrontBinaryManager.java:93) ~[nuxeo-core-binarymanager-s3-2021.6.4.jar:?] at org.nuxeo.ecm.blob.AbstractCloudBinaryManager.getURI(AbstractCloudBinaryManager.java:176) ~[nuxeo-core-binarymanager-common-2021.6.4.jar:?] at org.nuxeo.ecm.core.blob.BlobManagerComponent.getURI(BlobManagerComponent.java:266) ~[nuxeo-core-api-2021.6.4.jar:?] at org.nuxeo.ecm.core.io.download.DefaultRedirectResolver.getURI(DefaultRedirectResolver.java:41) ~[nuxeo-core-io-2021.6.4.jar:?] at org.nuxeo.ecm.core.io.download.DownloadServiceImpl.getFullDownloadUrl(DownloadServiceImpl.java:180) ~[nuxeo-core-io-2021.6.4.jar:?] at org.nuxeo.ecm.core.io.marshallers.json.document.DocumentPropertyJsonWriter.getBlobUrl(DocumentPropertyJsonWriter.java:310) ~[nuxeo-core-io-2021.6.4.jar:?] at org.nuxeo.ecm.core.io.marshallers.json.document.DocumentPropertyJsonWriter.writeBlobProperty(DocumentPropertyJsonWriter.java:260) ~[nuxeo-core-io-2021.6.4.jar:?] at org.nuxeo.ecm.core.io.marshallers.json.document.DocumentPropertyJsonWriter.writeProperty(DocumentPropertyJsonWriter.java:114) ~[nuxeo-core-io-2021.6.4.jar:?] at org.nuxeo.ecm.core.io.marshallers.json.document.DocumentPropertyJsonWriter.write(DocumentPropertyJsonWriter.java:104) ~[nuxeo-core-io-2021.6.4.jar:?] at org.nuxeo.ecm.core.io.marshallers.json.document.DocumentPropertyJsonWriter.write(DocumentPropertyJsonWriter.java:90) ~[nuxeo-core-io-2021.6.4.jar:?] at org.nuxeo.ecm.core.io.marshallers.json.AbstractJsonWriter.write(AbstractJsonWriter.java:81) ~[nuxeo-core-io-2021.6.4.jar:?] at org.nuxeo.ecm.core.io.marshallers.json.document.DocumentModelJsonWriter.writeSchemaProperties(DocumentModelJsonWriter.java:249) ~[nuxeo-core-io-2021.6.4.jar:?] at org.nuxeo.ecm.core.io.marshallers.json.document.DocumentModelJsonWriter.writeEntityBody(DocumentModelJsonWriter.java:193) ~[nuxeo-core-io-2021.6.4.jar:?] at org.nuxeo.ecm.core.io.marshallers.json.document.DocumentModelJsonWriter.writeEntityBody(DocumentModelJsonWriter.java:109) ~[nuxeo-core-io-2021.6.4.jar:?] at org.nuxeo.ecm.core.io.marshallers.json.ExtensibleEntityJsonWriter.write(ExtensibleEntityJsonWriter.java:85) ~[nuxeo-core-io-2021.6.4.jar:?] at org.nuxeo.ecm.core.io.marshallers.json.AbstractJsonWriter.write(AbstractJsonWriter.java:81) ~[nuxeo-core-io-2021.6.4.jar:?] at org.nuxeo.ecm.webengine.jaxrs.coreiodelegate.PartialCoreIODelegate.writeTo(PartialCoreIODelegate.java:113) ~[nuxeo-webengine-jaxrs-2021.6.4.jar:?] at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:302) ~[jersey-server-1.19.4.jar:1.19.4] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1510) ~[jersey-server-1.19.4.jar:1.19.4] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419) ~[jersey-server-1.19.4.jar:1.19.4] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409) ~[jersey-server-1.19.4.jar:1.19.4] at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409) ~[jersey-servlet-1.19.4.jar:1.19.4] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558) ~[jersey-servlet-1.19.4.jar:1.19.4] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733) ~[jersey-servlet-1.19.4.jar:1.19.4] at org.nuxeo.ecm.webengine.app.jersey.WebEngineServlet.containerService(WebEngineServlet.java:62) ~[nuxeo-webengine-core-2021.6.4.jar:?] at org.nuxeo.ecm.webengine.app.jersey.WebEngineServlet.service(WebEngineServlet.java:46) ~[nuxeo-webengine-core-2021.6.4.jar:?]
- Is referenced in