[ 
https://issues.apache.org/jira/browse/JCLOUDS-351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Gaul resolved JCLOUDS-351.
---------------------------------
    Resolution: Fixed
      Assignee: Andrew Gaul

> testCopyIfModifiedSince fails against AWS-S3
> --------------------------------------------
>
>                 Key: JCLOUDS-351
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-351
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-blobstore
>    Affects Versions: 1.6.3
>            Reporter: Andrew Gaul
>            Assignee: Andrew Gaul
>              Labels: aws-s3
>             Fix For: 1.9.0
>
>
> {noformat}
> testCopyIfModifiedSince(org.jclouds.aws.s3.AWSS3ClientLiveTest)  Time 
> elapsed: 2.929 sec  <<< FAILURE!
> org.jclouds.aws.AWSResponseException: request PUT 
> https://gaul-blobstore1330667931334611482.s3.amazonaws.com/pears HTTP/1.1 
> failed with code 412, error: AWSError{requestId='...', requestToken='...', 
> code='PreconditionFailed', message='At least one of the pre-conditions you 
> specified did not hold', 
> context='{Condition=x-amz-copy-source-If-Modified-Since, HostId=...}'}
>         at 
> org.jclouds.aws.handlers.ParseAWSErrorFromXmlContent.handleError(ParseAWSErrorFromXmlContent.java:76)
>         at 
> org.jclouds.http.handlers.DelegatingErrorHandler.handleError(DelegatingErrorHandler.java:67)
>         at 
> org.jclouds.http.internal.BaseHttpCommandExecutorService.shouldContinue(BaseHttpCommandExecutorService.java:180)
>         at 
> org.jclouds.http.internal.BaseHttpCommandExecutorService.invoke(BaseHttpCommandExecutorService.java:150)
>         at 
> org.jclouds.rest.internal.InvokeSyncToAsyncHttpMethod.invoke(InvokeSyncToAsyncHttpMethod.java:131)
>         at 
> org.jclouds.rest.internal.InvokeSyncToAsyncHttpMethod.apply(InvokeSyncToAsyncHttpMethod.java:97)
>         at 
> org.jclouds.rest.internal.InvokeSyncToAsyncHttpMethod.apply(InvokeSyncToAsyncHttpMethod.java:58)
>         at 
> org.jclouds.rest.internal.DelegatesToInvocationFunction.handle(DelegatesToInvocationFunction.java:157)
>         at 
> org.jclouds.rest.internal.DelegatesToInvocationFunction.invoke(DelegatesToInvocationFunction.java:124)
>         at com.sun.proxy.$Proxy56.copyObject(Unknown Source)
>         at 
> org.jclouds.s3.S3ClientLiveTest.testCopyIfModifiedSince(S3ClientLiveTest.java:374)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to