Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

iCloud: UID lookups fail with 412

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

Maintainer thường phản hồi trong vòng 1 ngày

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
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
backend-api-design

Hướng nghiên cứu

Read the UID research in #733 and the full-download concern in #726, then trace get_event_by_uid(), get_object_by_uid(), and save() for a single occurrence. Check the existing tests for UID lookups and occurrence saves; the issue does not name test files. Before implementing either proposed approach, get a maintainer decision on whether the 412-only fallback is acceptable; done means UID lookup and single-occurrence saves work for the reported iCloud cases without downloading compliant servers' calendars.

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

Mô tả

Following up on the UID research from #733. iCloud answers 412 to every prop-filter on UID I tried, so on master get_event_by_uid() fails (with or without features="icloud"), and so does save() of a single occurrence (only_this_recurrence), which looks the master up by UID. Home Assistant, my use case, doesn't pass features.

What I found: 10 of 11 events in my test calendar (made with Apple clients, not caldav) are stored as <UID>.ics. The 11th, a made-up UID with / and +, isn't, and GET <quoted uid>.ics misses it. Expanded occurrences carry the URL of the series file.

I'd like to send two PRs:

  • A: save() of an occurrence first GETs its own URL (the series file), falling back to the UID lookup.
  • B: on 412, get_object_by_uid() tries GET <uid>.ics (checking the UID), then lists the calendar and matches the UID locally. Only on 412, so compliant servers never get the full download (the concern from #726).

Is B on the 412 alone, regardless of features, OK with you?

Ngôn ngữ chính
Python
Star
412
Fork
113
Merge trung bình
10 giờ 29 phút
Pull request đã merge (30 ngày)
57

Chuẩn bị môi trường

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.

Issue khác của python-caldav/caldav

Tất cả issue của python-caldav/caldav

Issue tương tự

Thêm issue về Python

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.