OneNote /content API: mishandles top-level bullet points
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 20/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 领域
- api
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- TypeScript
- 星标
- 833
- 派生
- 240
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoftgraph/msgraph-sdk-javascript 的其他 Issue
-
status:waiting-for-triage
难度 1/5 1 小时以内 新手友好度 62/100
-
Is anyone here? 未关闭
难度 4/5 3-5 天 新手友好度 25/100
microsoftgraph/msgraph-sdk-javascript#2005 · 1 个 reaction ·
-
status:waiting-for-triage
难度 5/5 一周以上 新手友好度 42/100
-
status:waiting-for-triage type:bug
难度 3/5 1-2 天 新手友好度 48/100
microsoftgraph/msgraph-sdk-javascript#1999 · 2 条评论 · 1 个 reaction ·
-
status:waiting-for-triage type:bug
难度 4/5 3-5 天 新手友好度 45/100
查看 microsoftgraph/msgraph-sdk-javascript 的全部 Issue
相似的 Issue
-
S: triage
难度 1/5 1 小时以内 新手友好度 85/100
-
难度 2/5 1-3 小时 新手友好度 76/100
-
fix(errors): EHOSTUNREACH from a happy-eyeballs connect is reported as a resolver error (STAMP-80) 未关闭
难度 2/5 1-3 小时 新手友好度 90/100
snapshot-labs/stamp#666 ·
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
GauravKarakoti/SecureFlow#1070 · 1 条评论 ·
-
feature:Languages/Translations good first issue ready Web
难度 2/5 1-3 小时 新手友好度 72/100
digitalfabrik/integreat-app#4394 ·