OneNote /content API: mishandles top-level bullet points
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 20/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- api
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- TypeScript
- Star
- 833
- Fork
- 240
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoftgraph/msgraph-sdk-javascript
-
status:waiting-for-triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 62/100
-
Is anyone here? Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
microsoftgraph/msgraph-sdk-javascript#2005 · 1 reaction ·
-
Is it really correct that the Javascript version of the graph SDK doesn't offer typed requests? Đang mởstatus:waiting-for-triage
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 42/100
-
status:waiting-for-triage type:bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
microsoftgraph/msgraph-sdk-javascript#1999 · 2 bình luận · 1 reaction ·
-
status:waiting-for-triage type:bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
Tất cả issue của microsoftgraph/msgraph-sdk-javascript
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
0xMiden/bridge-portal#132 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
area:tools bug good first issue help wanted priority:P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
TaewoooPark/Motifcode#14 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
newrelic-experimental/preflight#793 · 1 bình luận ·