tencentyun / qcloud-sdk-dotnet

MIT License
46 stars 22 forks source link

ListAllMyBuckets中的CreateDate信息为空 #7

Closed zhangjiankui closed 5 years ago

zhangjiankui commented 5 years ago

描述

如题,获取 Bucket 列表时其 CreateDate 属性为空,原因在于原 http API 中的对应字段名为 CreationDate,而sdk中进行 XML 解析时误用了 CreateDate 字段名。故 CreateDate 属性为空。

解决

临时解决: XmlParse.cs 中的 96 行,将字符串 "CreateDate" 改为 “CreationDate”。 终极解决: 将所有 CreateDate 替换成 CreationDate

bradyxiao commented 5 years ago

fix this bug