AddListItem to SP List using MsGraph is not allowed to provide null values for fields that allow have the option "require column to have information" set to false
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện việc tạo mục danh sách được mô tả bằng Microsoft Graph Core SDK và GraphServiceClient, với các trường tùy chọn được đặt thành null. Xem xét ngoại lệ dịch vụ chung phát sinh và so sánh hành vi của yêu cầu với cách xử lý dự kiến đối với các trường danh sách nullable của SharePoint. Công việc được xem là hoàn tất khi hành vi đã được hiểu và либо được sửa hoặc được ghi chép rõ ràng bằng một trường hợp kiểm thử có thể tái hiện.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Please provide the following (and please check them off the list with [x]) before submitting this issue:
- Expected behavior. Please provide links to the specific Microsoft Graph documentation you used to determine the expected behavior.
- Actual behavior. Provide error codes, stack information, and a Fiddler capture of the request and response (please remove personally identifiable information before posting).
- Steps to reproduce the behavior. Include your code, IDE versions, client library versions, and any other information that might be helpful to understand your scenario.
Expected behavior
When initializing a new list item object we provide 'null' for some fields if the source is empty or null:
Actual behavior
When initializing a new list item object we provide 'null' for some fields if the source is empty or null:
When submitting the newly created listitem to the GraphServiceClient:
This results in a Generic Service Exception, after investigating I realized this had to do with the field data types and there respective option to allow the field to have no content.
But since this week, it is no longer allowed to send null values using the MsGraph.
Steps to reproduce the behavior
Prepare a listitem object like in Expected Behavior.
Then try to add it using the MsGraph Core SDK
- Ngôn ngữ chính
- C#
- Star
- 163
- Fork
- 65
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoftgraph/msgraph-sdk-dotnet-core
-
status:waiting-for-triage type:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
status:waiting-for-triage type:bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
microsoftgraph/msgraph-sdk-dotnet-core#1047 · 3 bình luận · 8 reaction ·
-
status:waiting-for-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
microsoftgraph/msgraph-sdk-dotnet-core#1046 · 2 bình luận · 2 reaction ·
-
.NET
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
-
Fix CI build on windows-latestCó thể làm lại được @ramsessanchez đã nhận 303 ngày trước và không có pull request nào đang mở. Đang mở
microsoftgraph/msgraph-sdk-dotnet-core#1003 · 1 người được giao ·
Tất cả issue của microsoftgraph/msgraph-sdk-dotnet-core
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Devolutions/UniGetUI#5541 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[aw] PR Iteration Agent 🔧 failedĐang mởagentic-workflows Needs: Triage :mag:
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[誤判定]Đang mởlinux アプリ: ブラウザー 再現済み 要トリアージ 誤判定
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
yksr-melt/Meltype#853 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
S: Untriaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Trauma-Station/Trauma-Station#5073 ·
Maintainer thường phản hồi trong vòng 1 ngày