[Bug]: iMIP email replies are processed but attendee status is not updated for events in a writable shared calendar
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 22/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- javascript, php
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- PHP
- Étoiles
- 37.6k
- Forks
- 5.4k
- Merge moyen
- 1 j 13 h
- PR mergées (30 j)
- 623
Préparer son environnement
Lance le conteneur de développement du projet dans votre navigateur, avec votre propre compte GitHub.
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de nextcloud/server
-
[Bug]: Axios Update NeededOuverte0. Needs triage 35-feedback bug
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 1 jour
-
34-feedback
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
Les mainteneurs répondent en général sous 1 jour
-
[Bug]: GET /js/../<anything> returns 500 (NotPermittedException from JsController::getJs) instead of 404Peut-être pris @lazerg l’a pris il y a 7 jours. Ouverte35-feedback
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 1 jour
-
[Bug]: Dashboard widgets registered via OCA.Dashboard.register() sometimes never mount (spinner forever) – Vue 3 non-deep `callbacks` watcher racePeut-être pris @lazerg l’a pris il y a 7 jours. Ouverte35-feedback
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de nextcloud/server
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
sonata-project/SonataAdminBundle#8426 ·
Les mainteneurs répondent en général sous 1 jour
-
good first issue help wanted
Difficulté 2/5 1-3 heures Accessibilité débutants 90/100
erkamyaman/rust-anything#942 ·
Les mainteneurs répondent en général sous 1 jour
-
CPU core labels missing for Low-Power E-cores on hybrid Intel CPUs (Arrow Lake-H) — get_intel_core_types() ignores /sys/devices/cpu_lowpowerPeut-être pris @dgongut l’a pris aujourd’hui. Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 90/100
Les mainteneurs répondent en général sous 1 jour