microsoftgraph / microsoftgraph/msgraph-sdk-java

Adding external reference to PlannerTaskDetails results in dangling name exception

Đang mở
#2,505 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

status:waiting-for-triage type:bug
Ngôn ngữ chính
Java
Star
444
Fork
154
Merge trung bình
18 giờ 28 phút
Pull request đã merge (30 ngày)
4

Mô tả

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_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện luồng PlannerTaskDetails đến plannerExternalReferences được mô tả cho SDK 6.55.0, bao gồm setAdditionalData và bản ghi PlannerExternalReference tùy chỉnh. Theo dõi cách escaped URL được xử lý và xác nhận rằng việc thêm một hoặc nhiều tham chiếu hoàn tất mà không xảy ra ngoại lệ tên bị treo, đồng thời tạo ra dữ liệu yêu cầu như mong đợi.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
java
Lĩnh vực
api
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.