Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-883

Swift portable copy blob cannot replace user metadata

    XMLWordPrintableJSON

Details

    Description

      Swift only allows appending to user metadata, different from other object stores, such that the following integration test fails:

      Failed tests: 
        CloudFilesUSBlobIntegrationLiveTest>BaseBlobIntegrationTest.testCopyBlobReplaceMetadata:812->BaseBlobIntegrationTest.checkUserMetadata:606 
      Expecting:
       <{"key2"="value2", "key3"="value3", "key1"="value1", "key4"="value4"}>
      to be equal to:
       <{"key3"="value3", "key4"="value4"}>
      but was not.
      

      Unfortunately the provider API does not appear to provide a way to set the combination of content and user metadata to fix this up after the fact.

      Attachments

        Issue Links

          Activity

            People

              gaul Andrew Gaul
              gaul Andrew Gaul
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: