Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: (CalDAV) Calendar event cancellation iMip messages are sent twice, on delete and on trash empty #45677

Open
4 of 8 tasks
SebastianKrupinski opened this issue Jun 5, 2024 · 2 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 30-feedback bug feature: caldav Related to CalDAV internals

Comments

@SebastianKrupinski
Copy link
Contributor

⚠️ This issue respects the following points: ⚠️

Bug description

Calendar iMip messages are sent twice, once when the event is deleted and once when the trash is emptied

Steps to reproduce

  1. Create Event (In the future) with attendee (has email address)
  2. Delete Event with attendee
  3. Empty trash bin

Expected behavior

Calendar iMip message should only be sent once on delete

Installation method

None

Nextcloud Server version

master

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.3

Web server

Nginx

Database engine version

MySQL

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

N/A

List of activated Apps

N/A

Nextcloud Signing status

N/A

Nextcloud Logs

N/A

Additional info

No response

@SebastianKrupinski SebastianKrupinski added bug 0. Needs triage Pending check for reproducibility or if it fits our roadmap labels Jun 5, 2024
@SebastianKrupinski
Copy link
Contributor Author

Tested with single and multiple attendees and external email client

Created Event Message
Created

Deleted Event Message
Deleted

Trash Empty Message
Trash Emptied

@SebastianKrupinski
Copy link
Contributor Author

SebastianKrupinski commented Jun 5, 2024

Possible solution.

Add check to determine if message was deleted or trash was emptied in iMipPlugin Schedule function.

public function schedule(Message $iTipMessage) {

@SebastianKrupinski SebastianKrupinski changed the title [Bug]: (CalDAV) Calendar iMip messages are sent twice, on delete and on trash empty [Bug]: (CalDAV) Calendar event cancellation iMip messages are sent twice, on delete and on trash empty Jun 5, 2024
@ChristophWurst ChristophWurst added the feature: caldav Related to CalDAV internals label Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 30-feedback bug feature: caldav Related to CalDAV internals
Projects
Status: No status
Development

No branches or pull requests

3 participants