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

getBlob for non-existent containers does not throw a ContainerNotFoundException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 1.7.3
    • 2.0.0
    • jclouds-blobstore
    • None

    Description

      As per the documentation[1], the BlobStore object should throw a ContainerNotFoundException if the container does not exist when the getBlob API is invoked. However, I see that the call to getBlob silently succeeds when the container doesn't exist. I tested this against aws-s3, swift and cloudfiles-us.

      [1] http://jclouds.apache.org/reference/javadoc/1.7.x/org/jclouds/blobstore/BlobStore.html#getBlob(java.lang.String, java.lang.String)

      Attachments

        Issue Links

          Activity

            People

              jdaggett Jeremy Daggett
              shrinand Shri Javadekar
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: