microsoftgraph / microsoftgraph/msgraph-sdk-java
PATCH /subscriptions/{id} shouldn't require both properties
还没有人认领这个 Issue。
- 主要语言
- Java
- 星标
- 444
- 派生
- 154
- 平均合并
- 18 小时 28 分钟
- 30 天内合并 PR
- 4
描述
Describe the bug
As per the documentation, PATCH https://graph.microsoft.com/beta/subscriptions/{id} requires only 1 property to be defined. Unfortunately, as confirmed by this customer, the Java SDK requires both properties to be specified or the request fails with this error message:
Subscription must contain either the 'expirationDateTime' or 'notificationUrl' property and its value.
More details on the bug as reported by the customer @Yusvanth are in Microsoft Graph Q&A
The feature engineers have confirmed that this issue doesn't occur on the REST API or other SDKs.
Please assist to resolve the bug.
Expected behavior
Only the expirationDateTime property is required.
How to reproduce
See the customer issue + CxP response.
SDK Version
No response
Latest version known to work for scenario above?
No response
Known Workarounds
No response
Debug output
Click to expand log
```</details>
### Configuration
_No response_
### Other information
_No response_
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先跟踪 Java SDK 对 PATCH /subscriptions/{id} 的处理,并使用链接的 Microsoft Graph 文档和客户 issue 作为复现上下文。验证仅包含 expirationDateTime 的请求能够被接受,并确认现有验证或请求行为不再要求 notificationUrl。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- api
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 38/100