[infinispan-issues] [JBoss JIRA] Created: (ISPN-1283) CloudCacheStore incorrectly handles JClouds' cloudServiceLocation "EU"

Gernot Bauer (JIRA) jira-events at lists.jboss.org
Mon Aug 1 12:04:23 EDT 2011


CloudCacheStore incorrectly handles JClouds' cloudServiceLocation "EU"
----------------------------------------------------------------------

                 Key: ISPN-1283
                 URL: https://issues.jboss.org/browse/ISPN-1283
             Project: Infinispan
          Issue Type: Bug
          Components: Loaders and Stores
    Affects Versions: 5.0.0.CR8, 4.2.1.FINAL
            Reporter: Gernot Bauer
            Assignee: Manik Surtani


Infinispan's CloudCacheStore incorrectly handles the JClouds' cloudServiceLocation for Amazon S3 Ireland:

<property name="cloudServiceLocation" value="EU" />

"EU" is defined as uppercase in JClouds. This cannot be used with Infinispan because the parameter is converted to lower case in CloudCacheStore.java:183.

A possible fix that should not break existing code would be to change CloudCacheStore.java:180 from
                       return input.getId();
to
                       return input.getId().trim().toLowerCase();

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list