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

Allow saving in documents blobs coming from a non-document blob provider

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.10-HF03, 10.1
    • Component/s: BlobManager
    • Release Notes Summary:
      Blobs coming from a non-document blob provider can be saved in documents.
    • Tags:
    • Backlog priority:
      700
    • Upgrade notes:
      Hide

      A blob provider use by the transient store has to be configured with <property name="transient">true</property> for the blobs to be properly copied when saved to other blob providers.

      Show
      A blob provider use by the transient store has to be configured with <property name="transient">true</property> for the blobs to be properly copied when saved to other blob providers.
    • Sprint:
      nxFG 10.1.1, nxFG 10.1.2
    • Story Points:
      3

      Description

      If a blob is managed and coming from a Blob Provider that's not known to the Blob Dispatcher, it should be copied when saved to a document.

      For instance if the blob comes from the KeyValueBlobTransientStore, when saving it in a document the expectation is to copy it to the appropriate Blob Provider of the document's repository.

      Currently this is not working, as DocumentBlobManagerComponent#writeBlob will just return the blob's key and not do a copy.

        Attachments

          Issue Links

            Activity

            Hide
            hudson Jenkins added a comment -

            SUCCESS: Integrated in master/nuxeo-master #1548
            NXP-24421: allow saving of transient managed blobs (efge: 1aafa9c99ecb0b540df8d2d09e3ffab53368bd8b)

            Show
            hudson Jenkins added a comment - SUCCESS: Integrated in master/nuxeo-master #1548 NXP-24421 : allow saving of transient managed blobs (efge: 1aafa9c99ecb0b540df8d2d09e3ffab53368bd8b )
            Hide
            hudson Jenkins added a comment -

            SUCCESS: Integrated in 9.10/nuxeo-9.10 #1573
            NXP-24421: allow saving of transient managed blobs (efge: b416a71a4bd0e9d66bae3b911c614637b928b17d)

            Show
            hudson Jenkins added a comment - SUCCESS: Integrated in 9.10/nuxeo-9.10 #1573 NXP-24421 : allow saving of transient managed blobs (efge: b416a71a4bd0e9d66bae3b911c614637b928b17d )
            Hide
            fguillaume Florent Guillaume added a comment -

            Reopen for 8.10 backport

            Show
            fguillaume Florent Guillaume added a comment - Reopen for 8.10 backport
            Hide
            fguillaume Florent Guillaume added a comment -

            https://github.com/nuxeo/nuxeo/pull/1808

            But this backport is not needed, and actually KeyValueBlobTransientStore isn't available in 8.10.

            Show
            fguillaume Florent Guillaume added a comment - https://github.com/nuxeo/nuxeo/pull/1808 But this backport is not needed, and actually KeyValueBlobTransientStore isn't available in 8.10.
            Hide
            hudson Jenkins added a comment -

            SUCCESS: Integrated in master/addons_nuxeo-core-binarymanager-cloud-master #776
            NXP-24421: make sure cloud binary managers can be marked transient (efge: fcd823bd96732362fcfef8578a8f575b72721976)

            Show
            hudson Jenkins added a comment - SUCCESS: Integrated in master/addons_nuxeo-core-binarymanager-cloud-master #776 NXP-24421 : make sure cloud binary managers can be marked transient (efge: fcd823bd96732362fcfef8578a8f575b72721976 )
            Hide
            hudson Jenkins added a comment -

            SUCCESS: Integrated in master/nuxeo-master #2351
            NXP-24421: make sure cloud binary managers can be marked transient (efge: fcd823bd96732362fcfef8578a8f575b72721976)

            Show
            hudson Jenkins added a comment - SUCCESS: Integrated in master/nuxeo-master #2351 NXP-24421 : make sure cloud binary managers can be marked transient (efge: fcd823bd96732362fcfef8578a8f575b72721976 )
            Hide
            fguillaume Florent Guillaume added a comment -

            Above commit is missing from the 9.x branch. Backport done by NXP-27201.

            Show
            fguillaume Florent Guillaume added a comment - Above commit is missing from the 9.x branch. Backport done by NXP-27201 .

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours
                  3h