Title:
Bug 85916:(Watson Migration Closure)storeSetMetadata() will override previous storeAddACL() calls
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Henry Ho / Henry Ho (Henry Ho)
Created: 01/19/2011
Components: File Management, VFS-S3
Versions: 9.0.1
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 / 293176
Priority/Frequency: Normal / Unknown
Locale/System: English / Platforms All
Vote Count: 4
Problem:
storeSetMetadata() will override previous storeAddACL() calls.workaround: storeSetMetaData() first, then storeAddACL().
Method:
fileCopy(serverFilePath, s3Path);storeAddACL(s3Path, [{group="all", permission="read"}]);storeSetMetadata(s3Path,{content_type="image/jpeg"});writedump(storeGetACL(s3Path));// expect: 2 ACL's, owner and group all read// actual: 1 ACL, group all read is not there anymore.
Repro case at
\\blrstore.corp.adobe.com\builds\coldfusion\Bugs\85916
Result:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3043124
External Customer Info:
External Company:
External Customer Name: Henry Ho
External Customer Email: 237A22C24921EDF5992015B9
External Test Config: 01/19/2011
Attachments:
Comments: