-
Bug
-
Resolution: Done
-
Major
-
4.5.0.Final
-
None
Data corrupted when using JCR setProperty with BinaryValue.
node.setProperty (Property.JCR_DATA,session.getValueFactory().createBinary(file));
Putting db.requestStart()/db.requestDone() in
org.modeshape.jcr.value.binary.MongodbBinaryStore.storeValue( InputStream stream,boolean markAsUnused )
surrounding the writing operation, could avoid the data corruption.
Please see https://developer.jboss.org/thread/266829