Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Site description field is always null

未关闭
#2,344 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
java
领域
api, backend

调研方向

未指定源文件或测试。使用 SDK 6.33.0 重现 SharePoint 网站描述的获取过程,并将 Graph Explorer 结果和 SDK 的 HTTP 级响应作为比较点。对于同一个请求,SDK 响应包含网站的描述字段即表示完成。

由索引模型根据 Issue 内容生成。

描述

status:waiting-for-triage type:bug
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

主要语言
Java
星标
444
派生
154
平均合并
18 小时 28 分钟
30 天内合并 PR
4

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

microsoftgraph/msgraph-sdk-java 的其他 Issue

查看 microsoftgraph/msgraph-sdk-java 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。