microsoftgraph / microsoftgraph/msgraph-sdk-java

Site description field is always null

Aperta
#2,344 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

status:waiting-for-triage type:bug
Lingua principale
Java
Stelle
444
Fork
154
Merge medio
18h 28m
PR unite (30g)
4

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Non è indicato alcun file sorgente né alcun test. Riproduci il recupero della descrizione del sito SharePoint con SDK 6.33.0, usando il risultato di Graph Explorer e la risposta dell'SDK a livello HTTP come punti di confronto. Il lavoro è completato quando la risposta dell'SDK include il campo della descrizione del sito per la stessa richiesta.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java
Ambito
api, backend
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.