microsoftgraph / microsoftgraph/msgraph-sdk-java
PATCH /subscriptions/{id} shouldn't require both properties
まだ誰も着手していません。
- 主要言語
- Java
- スター
- 444
- フォーク
- 154
- 平均マージ
- 18時間 28分
- マージ済み PR(30日)
- 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 にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、リンクされている Microsoft Graph のドキュメントと顧客 issue を再現コンテキストとして使用し、Java SDK における PATCH /subscriptions/{id} の処理を追跡します。expirationDateTime のみを含むリクエストが受け入れられることを確認し、既存の検証またはリクエスト動作で notificationUrl が不要になっていることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- api
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 38/100