tencentyun / qcloud-sdk-dotnet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ListAllMyBuckets中的CreateDate信息为空

zhangjiankui opened this issue · comments

描述

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

解决

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

fix this bug