tracker issue : CF-4118773

select a category, or use search below
(searches all categories and all time range)
Title:

fileCopy() between S3 breaks meta data

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): Tom Chiverton / Tom Chiverton (Tom Chiverton)

Created: 02/17/2016

Components: Core Runtime

Versions: 11.0

Failure Type: Data Corruption

Found In Build/Fixed In Build: CF11_Final / 2018.0.0.308774

Priority/Frequency: Major / Some users will encounter

Locale/System: ALL / Linux CentOS 5.3 x86-64

Vote Count: 1

Problem Description:fileCopy fails to correctly copy meta data between resources on S3

Steps to Reproduce:
Create a file on S3 with Content-Type of 'application/pdf' and Cache-Control of 'max-age=300'
run fileCopy(yourS3File,someOtherS3File)

Actual Result:
someOTherS3File has Content-Type of 'application' and no Cache-Control

Expected Result:
someOTherS3File has Content-Type of 'application/pdf' and Cache-Control of 'max-age=300'

Any Workarounds:
Fall back to using the Java AWS SDK.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4118773

External Customer Info:
External Company:  
External Customer Name: Tom Chiverton
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

Comments: