[Bug]: iMIP email replies are processed but attendee status is not updated for events in a writable shared calendar
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 22/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- javascript, php
調査の方向性
The report does not name a file; start from the iMIP reply handling in the Calendar app's iTIP/Sabre scheduling code and the Mail app's iMIP processing, then trace where a METHOD:REPLY is matched to a calendar object owned by another user. Reproducing needs a shared writable calendar and an iMIP REPLY email, so setup is non-trivial. Done would be an attendee PARTSTAT updated to ACCEPTED in the shared calendar event, with a test covering that case.
索引モデルが issue の本文から書いたものです。
説明
Bug description
When a user creates an event in a calendar that is owned by another Nextcloud user and shared with write permissions, an external attendee can accept the invitation by replying from Microsoft Outlook via email. The reply is delivered to the event organizer's Nextcloud Mail account and is detected and marked as processed by Nextcloud Mail, but the attendee status in the calendar event remains NEEDS-ACTION.
This report is specifically about processing an incoming email-based iMIP METHOD:REPLY message. It is not about an external attendee clicking the accept link in the invitation email.
Setup
- User A owns a calendar.
- User A shares the calendar with User B with write permissions.
- User B creates an event in that shared calendar.
- User B is stored as the event
ORGANIZER. - User B invites an external attendee by email.
- The external attendee accepts in Microsoft Outlook using the normal calendar Accept action.
- The iMIP reply arrives in User B's Nextcloud Mail account.
Steps to reproduce
- Share a calendar owned by User A with User B and grant write permissions.
- As User B, create an event in the shared calendar and invite an external email address.
- Accept the invitation from Microsoft Outlook using the normal Accept action, causing Outlook to send an email-based iMIP reply.
- Let Nextcloud Mail retrieve and process the reply.
- Check the attendee participation status in the original event.
Actual behavior
- The reply email arrives in User B's Nextcloud Mail account.
- The corresponding Mail database row is recognized as an iMIP message and marked processed, with no recorded iMIP error:
imip_message = 1imip_processed = 1imip_error = 0
- However, the attendee remains
PARTSTAT=NEEDS-ACTIONin the calendar event and the UI continues to show "Waiting for response".
Expected behavior
The incoming email-based iMIP reply should be matched to the event created in the writable shared calendar, and the attendee's participation status should be updated to PARTSTAT=ACCEPTED.
Database evidence from a reproduction
The invitation record contains:
- Organizer:
mailto:[email protected](User B) - Attendee:
mailto:[email protected] - UID:
8ea0f819-b744-4700-a983-108b2e164891
The corresponding calendar object is stored in the calendar owned by User A:
- Calendar display name:
Family - Calendar ID:
14 - Principal URI:
principals/users/<calendar-owner>
The stored event data contains:
ATTENDEE;PARTSTAT=NEEDS-ACTION:mailto:[email protected]
ORGANIZER:mailto:[email protected]
The actual mail database row for the reply was:
- Mailbox ID:
30(User B's mailbox) - Subject:
Angenommen: Test 3 imip_message = 1imip_processed = 1imip_error = 0
Email addresses and identifiers above are anonymized in this report where appropriate.
Related issue
This may be related to #60230, which discusses external iTIP replies in writable shared calendars. However, that report and its maintainer discussion focus on an unauthenticated attendee accepting through the link in the invitation email. This report concerns a reply sent by Outlook via email (METHOD:REPLY) and processed by Nextcloud Mail.
Environment
- Nextcloud Server: 35.0.2.2
- Calendar app: 6.6.3
- Mail app: 5.12.5
- Deployment: Docker
- Server platform: Raspberry Pi 5
- External calendar client: Microsoft Outlook
- Mail provider: STRATO
Additional notes
The same external attendee acceptance workflow works when the event is created by the owner of the calendar in their own calendar. The failure has been observed when the event is created by the user who has write access to another user's shared calendar.
The exact point at which the iMIP reply fails to update the calendar object is not yet known.
- 主要言語
- PHP
- スター
- 37.6k
- フォーク
- 5.4k
- 平均マージ
- 1日 13時間
- マージ済み PR(30日)
- 623
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nextcloud/server のほかの issue
-
0. Needs triage 35-feedback bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
34-feedback
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
[Bug]: GET /js/../<anything> returns 500 (NotPermittedException from JsController::getJs) instead of 404対応中かも @lazerg が 7 日前に担当しました。 オープン35-feedback
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
[Bug]: Dashboard widgets registered via OCA.Dashboard.register() sometimes never mount (spinner forever) – Vue 3 non-deep `callbacks` watcher race対応中かも @lazerg が 7 日前に担当しました。 オープン35-feedback
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
nextcloud/server の issue をすべて見る
似ている issue
-
area: tests area: user refactoring
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
nplhse/collaborative-ivena-statistics#1845 ·
メンテナーはふだん 1 日以内に返信
-
[Sync EN] filesystem: document the ValueError of fgets(), file_get_contents(), and touch() (#6167)オープンsync-en
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
sync-en
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 2 日以内に返信
-
Перевод устарел
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信
-
Documentation Feature: Events / Calendar
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信