microsoftgraph / microsoftgraph/msgraph-sdk-java

Site description field is always null

Aberta
#2,344 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

status:waiting-for-triage type:bug
Linguagem predominante
Java
Estrelas
444
Forks
154
Merge médio
18h 28min
PRs com merge (30d)
4

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Direção de pesquisa

Nenhum arquivo-fonte ou teste é especificado. Reproduza a recuperação da descrição do site do SharePoint com o SDK 6.33.0, usando o resultado do Graph Explorer e a resposta do SDK no nível HTTP como pontos de comparação. Está concluído quando a resposta do SDK inclui o campo de descrição do site para a mesma solicitação.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
java
Domínio
api, backend
Tipo de issue
Bug
Dificuldade
4/5
Tempo estimado
3-5 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
35/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.