microsoftgraph / microsoftgraph/msgraph-sdk-java
Adding external reference to PlannerTaskDetails results in dangling name exception
まだ誰も着手していません。
- 主要言語
- Java
- スター
- 444
- フォーク
- 154
- 平均マージ
- 18時間 28分
- マージ済み PR(30日)
- 4
説明
Describe the bug
I am using the latest version of the library, and I'm trying to add some links to PlannerTaskDetails.
Given the PlannerExternalReference is not generated for the library, I created my own record that matches the documentation ( https://learn.microsoft.com/en-us/graph/api/resources/plannerexternalreferences?view=graph-rest-1.0 besides the type, which seems wrong and doesn't match up with the explorer so I replace that with microsoft.graph.plannerExternalReference).
I have a list of URLs, so on my details => plannerExternalReferences I then call setAdditionalData with a map of String, and my PlannerExternalReference record, where the String is my url partially escaped in the same manner in the documentation.
Running this code results in an exception in the form of: dangling name https%3A//contoso%2Esharepoint%2Ecom/teams/agile/documents/AnnualReport%2Epptx
Expected behavior
To have reference(s) added to my task.
How to reproduce
Mentione in the description
SDK Version
6.55.0
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 番号を参照したプルリクエストを送ります。
調査の方向性
まず、SDK 6.55.0 について説明されている PlannerTaskDetails から plannerExternalReferences へのフローを、setAdditionalData とカスタム PlannerExternalReference レコードを含めて再現します。escaped URL がどのように処理されるかを追跡し、1 つ以上の参照を追加しても dangling name 例外が発生せずに完了し、期待されるリクエストデータが生成されることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- api
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100