microsoftgraph / microsoftgraph/msgraph-sdk-java
OperationStatus not correctly decoded from JSON
未关闭
还没有人认领这个 Issue。
dependency:metadata
type:bug
- 主要语言
- Java
- 星标
- 444
- 派生
- 154
- 平均合并
- 18 小时 28 分钟
- 30 天内合并 PR
- 4
描述
Describe the bug
OperationStatus.forValue() expects the value to be capitalized, however the webhooks receive e.g. PlayPromptOperation entities with the value starts with a small letter. So the SDK expects "Running", but receives "running".
Expected behavior
Status is properly decoded
How to reproduce
Decode a webhook notification collection that contains a PlayPromptOperation entity as data.
SDK Version
6.20
Latest version known to work for scenario above?
No response
Known Workarounds
No response
Debug output
No response
Configuration
No response
Other information
No response
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 OperationStatus.forValue() 开始,跟踪包含 PlayPromptOperation 实体的 webhook 通知集合是如何解码的。复现 issue 中的小写状态 "running",然后验证该状态在相关 webhook 路径中是否被正确解码。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- api
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 42/100