-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 10.10
-
Fix Version/s: 10.10-HF02, 11.1, 2021.0
-
Component/s: Core MongoDB
-
Release Notes Summary:GridFSBinaryManager handles transient blob providers.
-
Tags:
-
Backlog priority:800
-
Sprint:nxFG 11.1.4
The current code of GridFSBinaryManager does not handle the property transient as it's done by BinaryBlobProvider.java.
The consequence is the following error when trying to use a GridFS blob provider, which can be easily reproduce by using D&D in Nuxeo WebUI
2019-02-28T15:35:40,861 ERROR [WebEngineExceptionMapper] org.nuxeo.ecm.core.api.NuxeoException: Blob provider: transient_BatchManagerCache used for Key/Value store: transient_BatchManagerCache must be configured as transient org.nuxeo.ecm.core.api.NuxeoException: Blob provider: transient_BatchManagerCache used for Key/Value store: transient_BatchManagerCache must be configured as transient at org.nuxeo.ecm.core.transientstore.keyvalueblob.KeyValueBlobTransientStore.getBlobProvider(KeyValueBlobTransientStore.java:185) ~[nuxeo-core-cache-10.10.jar:?] at org.nuxeo.ecm.core.transientstore.keyvalueblob.KeyValueBlobTransientStore.putBlobs(KeyValueBlobTransientStore.java:422) ~[nuxeo-core-cache-10.10.jar:?] at org.nuxeo.ecm.automation.server.jaxrs.batch.Batch.addFile(Batch.java:185) ~[nuxeo-automation-server-10.10.jar:?] at org.nuxeo.ecm.restapi.server.jaxrs.BatchUploadObject.addBlob(BatchUploadObject.java:321) ~[nuxeo-rest-api-server-10.10.jar:?] at org.nuxeo.ecm.restapi.server.jaxrs.BatchUploadObject.uploadNoTransaction(BatchUploadObject.java:273) ~[nuxeo-rest-api-server-10.10.jar:?] at org.nuxeo.ecm.restapi.server.jaxrs.BatchUploadObject.upload(BatchUploadObject.java:181) ~[nuxeo-rest-api-server-10.10.jar:?]
GridFSBinaryManager#initialize does not read the transient property.
- depends on
-
NXP-24421 Allow saving in documents blobs coming from a non-document blob provider
- Resolved