microsoftgraph / microsoftgraph/msgraph-sdk-java
Site description field is always null
還沒有人認領這個 Issue。
- 主要語言
- Java
- 星號
- 444
- 分支
- 154
- 平均合併
- 18 小時 28 分鐘
- 30 天內合併 PR
- 4
描述
Describe the bug
I am trying to obtain the site description using the Graph SDK. However, even though the Graph Explorer shows that the description value is returned, in the SDK the description is always null.
One possible difference is that I am using Azure Identity credentials with a client certificate credential to configure authentication for the SDK. Also tried a client secret credential with the same result.
Expected behavior
The description field should be available.
How to reproduce
Create a site in Sharepoint with a description.
Try to retrieve the description via the Graph Explorer. It works.
Try to retrieve the description via the SDK. It does not work. Debug logs at the HTTP level shows that the odata response does not contain the description field.
For some reason the return value of the Graph Explorer is different than the return value of the SDK, for the exact same API request 👎 .
SDK Version
6.33.0
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 編號。
研究方向
未指定來源檔案或測試。使用 SDK 6.33.0 重現 SharePoint 網站描述的取得流程,並將 Graph Explorer 結果和 SDK 的 HTTP 層級回應作為比較點。對於相同的要求,SDK 回應包含網站的描述欄位即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- java
- 領域
- api, backend
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100