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

calendar import creates wave of invitation mails #23159

Closed
Florz opened this issue Mar 11, 2016 · 11 comments
Closed

calendar import creates wave of invitation mails #23159

Florz opened this issue Mar 11, 2016 · 11 comments

Comments

@Florz
Copy link

Florz commented Mar 11, 2016

Steps to reproduce

  1. go to calendar app
  2. import calendar that contains mail adresses associated with appointments

Expected behaviour

No mails should be sent if a calendar is imported.

Actual behaviour

All participants of old appointments received an invitation mail.

Server configuration

Operating system:
Debian GNU/Linux testing
Web server:
Debian GNU/Linux testing
Database:
mysql Ver 14.14 Distrib 5.6.28
PHP version:
PHP 5.6.17-3
ownCloud version: (see ownCloud admin page)
9.0.0-1.1
Updated from an older ownCloud or fresh install:
updated
Where did you install ownCloud from:
deb https://download.owncloud.org/download/repositories/stable/Debian_8.0/ /
Signing status (ownCloud 9.0 and above):
No errors have been found.
List of activated apps:

Enabled:
  - activity: 2.2.1
  - calendar: 1.0
  - comments: 0.2
  - contacts: 1.0.0.0
  - dav: 0.1.5
  - documents: 0.12.0
  - federatedfilesharing: 0.1.0
  - federation: 0.0.4
  - files: 1.4.4
  - files_external: 0.5.2
  - files_mv: 0.8.2
  - files_pdfviewer: 0.8
  - files_sharing: 0.9.1
  - files_texteditor: 2.1
  - files_trashbin: 0.8.0
  - files_versions: 1.2.0
  - files_videoplayer: 0.9.8
  - firstrunwizard: 1.1
  - gallery: 14.5.0
  - mail: 0.3.0
  - news: 7.1.2
  - notifications: 0.2.3
  - provisioning_api: 0.4.1
  - search_lucene: 0.6.0
  - systemtags: 0.2
  - templateeditor: 0.1
  - updatenotification: 0.1.0
  - user_external: 0.4
Disabled:
  - encryption
  - external
  - user_ldap

The content of config/config.php:

<?php
$CONFIG = array (
  'instanceid' => 'xxx',
  'passwordsalt' => 'xxx',
  'trusted_domains' => 
  array (
    0 => 'xxx.xx',
    1 => 'xxx.xxx.xxx.xxx',
    2 => 'xxx.xxx.xxx.xxx',
  ),
  'datadirectory' => '/var/www/owncloud/data',
  'overwritewebroot' => '/owncloud',
  'overwrite.cli.url' => '/owncloud',
  'dbtype' => 'mysql',
  'dbname' => 'owncloud',
  'dbuser' => 'xxx',
  'dbpassword' => 'xxx',
  'dbhost' => 'localhost',
  'dbtableprefix' => 'oc_',
  'version' => '9.0.0.19',
  'installed' => true,
  'theme' => '',
  'forcessl' => true,
  'mail_from_address' => 'root',
  'mail_smtpmode' => 'smtp',
  'mail_domain' => 'xxx.xx',
  'loglevel' => 0,
  'mail_smtphost' => '127.0.0.1',
  'mail_smtpname' => 'xxx',
  'mail_smtppassword' => 'xxxxxxxxxxxxxxxx',
  'mail_smtpport' => '25',
  'log_rotate_size' => '100 MiB',
  'maintenance' => false,
  'secret' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
  'preview_libreoffice_path' => '/usr/bin/libreoffice',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'trashbin_retention_obligation' => 'auto',
);

Are you using external storage, if yes which one: local/smb/sftp/...
no (mounted otherwise)
Are you using encryption: yes/no
no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
no

Client configuration

Browser:
Firefox
Operating system:
debian testing

Logs

Web server error log

[...]

ownCloud log (data/owncloud.log)

[...]

Browser log

[...]

@MorrisJobke

@Florz Florz changed the title calendar import creates wave on invitation mails calendar import creates wave of invitation mails Mar 11, 2016
@MorrisJobke
Copy link
Contributor

@DeepDiver1975 That is what I wrote to you minutes ago in IRC

@MorrisJobke
Copy link
Contributor

import calendar that contains mail adresses associated with appointments

Ah. It was not during migration (automatically handled during the upgrade to 9.0) but while importing a new calendar?

@DeepDiver1975
Copy link
Member

Ah - we are talking about import ...

@DeepDiver1975
Copy link
Member

Technically speaking there is no difference between creating a new event and importing one.
In both cases they are created in the db and any related processing triggered - also sending out notifications

@Florz
Copy link
Author

Florz commented Mar 11, 2016

Yes, I have two calendars. Due to the problems with caldav I tried to reimport one of them. After that I noticed those invitation mails. But only for this specific calendar. So I assume this has nothing to do with the migration.

@floeff
Copy link

floeff commented May 21, 2016

I can confirm this problem with 9.0.2. Started from a fresh install, imported via ICS files only, and e-mails were sent out for old appointments to me as well as to the participants.

@PVince81 PVince81 added this to the backlog milestone Jan 13, 2017
@ownclouders
Copy link
Contributor

Hey, this issue has been closed because the label status/STALE is set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.

(This is an automated comment from GitMate.io.)

@linkp
Copy link

linkp commented Feb 8, 2018

This is still a problem. I was lucky and caught it on a calendar that sent only 3 invitations, but I have another that I need to import that could potentially have a lot more.
Nextcloud appears to have addressed at least some of the problem:
nextcloud/server#2855

@stale
Copy link

stale bot commented Sep 21, 2021

This issue has been automatically closed.

@stale stale bot closed this as completed Sep 21, 2021
@kevincox
Copy link

kevincox commented Jul 2, 2022

This is still a problem. It is incredibly surprising that moving my calendar into nextcloud spams all of my contacts who already know about these events. I think there should be an option in the import dialog about this.

@phil-davis
Copy link
Contributor

"moving my calendar into nextcloud" - note, this is an issue in the ownCloud core repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants