Incorrect delta result from GetAsDeltaGetResponse on mail folder
还没有人认领这个 Issue。
评估
调研方向
从复现中描述的 Delta().GetAsDeltaGetResponse() 和 Delta().WithUrl(deltaLink).GetAsDeltaGetResponse() 调用开始,跟踪返回的项目和 delta 链接是如何处理的。复现先向邮件文件夹添加较新的邮件、再添加较旧邮件的顺序。完成标准是每封发生更改的邮件在 delta 响应中只出现一次,并带有一个可用的新 delta 链接。
由索引模型根据 Issue 内容生成。
描述
Describe the bug
I am using Delta handling against a mail folder and have found that consistently if older messages are added to the folder the delta query will return them twice in the result
Expected behavior
Expectation is that the delta call would only return a message once
How to reproduce
Reproduction-
(dates of the emails added to highlight the problem, not specifically needed to reproduce)
Folder with 1 email (14/01/2026)
Client.Me().MailFolders().ByMailFolderId(folderId).Messages().Delta().GetAsDeltaGetResponse() against the folder
- returns 1 email plus the delta link for use later
move 2 more recent (20/01/2026 ) emails into the folder
Client.Me().MailFolders().ByMailFolderId(folderId).Messages().Delta().WithUrl(deltaLink).GetAsDeltaGetResponse()
- returns 2 emails and new delta link
move 2 older emails (09/01/2026, 22/12/2025) into the folder
Client.Me().MailFolders().ByMailFolderId(folderId).Messages().Delta().WithUrl(newdeltaLink).GetAsDeltaGetResponse()
- returns 4 emails (2x each of the emails it should be returning) and new delta link
SDK Version
v1.93.0
Latest version known to work for scenario above?
N/A
Known Workarounds
N/A
Debug output
No response
Configuration
No response
Other information
No response
- 主要语言
- Go
- 星标
- 335
- 派生
- 43
- 平均合并
- 15 小时 19 分钟
- 30 天内合并 PR
- 3
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoftgraph/msgraph-sdk-go 的其他 Issue
-
ItemItemsItemPermanentDeleteRequestBuilderInternal.Post missing content body/content-type headers未关闭status:waiting-for-triage type:bug
难度 3/5 1-2 天 新手友好度 48/100
microsoftgraph/msgraph-sdk-go#980 ·
-
status:waiting-for-triage type:bug
难度 4/5 3-5 天 新手友好度 35/100
microsoftgraph/msgraph-sdk-go#972 ·
-
status:waiting-for-triage type:feature
难度 3/5 1-2 天 新手友好度 45/100
microsoftgraph/msgraph-sdk-go#964 ·
-
status:waiting-for-triage type:feature
难度 5/5 一周以上 新手友好度 20/100
microsoftgraph/msgraph-sdk-go#940 · 1 条评论 ·
-
status:waiting-for-triage type:feature
难度 5/5 一周以上 新手友好度 25/100
microsoftgraph/msgraph-sdk-go#939 · 3 条评论 · 4 个 reaction ·
查看 microsoftgraph/msgraph-sdk-go 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 88/100
gruntwork-io/boilerplate#329 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
prime-radiant-inc/evener#3291 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
Netcracker/qubership-apihub-backend#582 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 86/100
维护者通常 1 天内回复