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