OneNote /content API: mishandles top-level bullet points
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 20/100
- Tipo de issue
- Error
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Área
- api
Línea de trabajo
Start by reproducing the page-content request in Graph Explorer using the URL and permissions steps provided, then compare the returned HTML with the expected placement and duplicate headings. Done means confirming whether the fault is in the OneNote API rather than the JavaScript SDK and identifying an actionable SDK scope or routing the report to the appropriate API team.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Describe the bug
I am trying to fetch the contents of a OneNote page, but the returned HTML is wildly wrong.
The page content I am requesting is:
https://graph.microsoft.com/v1.0/me/onenote/pages/0-98683d224e7e8f42b68681de32a02303!1-B4848BE9A8709757!s22b27c7557ff4cdea36df6219d76f605/content?includeInkML=true
Expected behavior
I would expect the content returned from the content API to have all the content in the right place and for there to be no duplicates. I'm seeing content in the wrong place, and I'm seeing h1 headings being duplicated at the end of the content.
How to reproduce
- go to graph explorer
- sign-in as me if possible???? or replicate my note from the screenshot above in your own notebook?
- "Modify Permissions" -> consent to OneNote permissions
- execute a query for my page, e.g. https://developer.microsoft.com/graph/graph-explorer?request=me%2Fonenote%2Fpages%2F0-98683d224e7e8f42b68681de32a02303!1-B4848BE9A8709757!s22b27c7557ff4cdea36df6219d76f605%2Fcontent&method=GET&version=v1.0&GraphUrl=https://graph.microsoft.com
SDK Version
3.0.7
Latest version known to work for scenario above?
No response
Known Workarounds
Edit the content to fix the top-level list items and indent them:
This content, with all the bullets indented, fixes the html output
Debug output
n/a
Configuration
n/a
Other information
This is a OneNote API bug and not the JS SDK's fault, since I can reproduce in graph explorer. If there's a way to submit a OneNote API bug let me know.
- Lenguaje dominante
- TypeScript
- Estrellas
- 836
- Forks
- 241
- Merge medio
- 1 d 12 h
- PR fusionados (30 d)
- 10
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de microsoftgraph/msgraph-sdk-javascript
-
client.api() throws "Unable to parse the URL" for relative paths containing https:// in the queryPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
microsoftgraph/msgraph-sdk-javascript#2039 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
microsoftgraph/msgraph-sdk-javascript#2011 ·
Los mantenedores suelen responder en 1 día
-
status:waiting-for-triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 62/100
microsoftgraph/msgraph-sdk-javascript#1956 ·
Los mantenedores suelen responder en 1 día
-
Is anyone here?Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
microsoftgraph/msgraph-sdk-javascript#2005 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Is it really correct that the Javascript version of the graph SDK doesn't offer typed requests?Abiertostatus:waiting-for-triage
Dificultad 5/5 Más de una semana Aptitud para principiantes 42/100
microsoftgraph/msgraph-sdk-javascript#2004 ·
Los mantenedores suelen responder en 1 día
Todos los issues de microsoftgraph/msgraph-sdk-javascript
Issues similares
-
parity: scripting.net's net-http row fails on macOS with errno 61 where the BDS golden has 111AbiertoBug Tests
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
JSPrismarine/JSPrismarine#3384 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
zingolabs/zingo-mobile#1951 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Automattic/data-liberation-agent#2175 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
xdelmo/Portfolio-minimal#613 ·
Los mantenedores suelen responder en 1 día
-
backend documentation low-priority Stellar Wave
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Savitura/Savitools#611 · 1 comentario ·
Los mantenedores suelen responder en 6 días