Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-27141

Fix MongoDB GridFS blob serialization

    XMLWordPrintable

    Details

    • Release Notes Summary:
      MongoDB GridFS blobs are correctly serialized.
    • Backlog priority:
      1,000
    • Sprint:
      nxFG 11.1.5
    • Story Points:
      3

      Description

      A GridFS-backed binary cannot be serialized (and therefore put in a work object).

      java.io.NotSerializableException: org.nuxeo.ecm.core.storage.mongodb.GridFSBinaryManager
      	- field (class "org.nuxeo.ecm.core.storage.mongodb.GridFSBinaryManager$GridFSBinary", name: "this$0", type: "class org.nuxeo.ecm.core.storage.mongodb.GridFSBinaryManager")
      	- object (class "org.nuxeo.ecm.core.storage.mongodb.GridFSBinaryManager$GridFSBinary", GridFSBinary(7be2b778566d65e185a67017d7a3136e))
      	- field (class "org.nuxeo.ecm.core.blob.binary.BinaryBlob", name: "binary", type: "class org.nuxeo.ecm.core.blob.binary.Binary")
      	- object (class "org.nuxeo.ecm.core.blob.binary.BinaryBlob", org.nuxeo.ecm.core.blob.binary.BinaryBlob@fade96fa)
      	- field (class "org.nuxeo.ecm.core.api.model.impl.primitives.BlobProperty", name: "value", type: "interface java.io.Serializable")
      	- ...
      	- root object (class "org.nuxeo.ecm.core.event.impl.AsyncEventExecutor$ListenerWork", ListenerWork(Listener notificationListener [...], Progress(?%, ?/0), null))
      

       

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h