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

Deleting an addressbook does not seem to delete its birthday calendar entries #11395

Closed
gohrner opened this issue Sep 26, 2018 · 3 comments
Closed

Comments

@gohrner
Copy link

gohrner commented Sep 26, 2018

Not sure if this issue is assigned to the right component... Possibly it belongs to Contacts or Calendar app?

Steps to reproduce

  1. Import a vcard address book
  2. Delete this vcard address book
  3. Repeat the previous step three times (which I did because of vcard import problems...)

Expected behaviour

The birthday calendar should have one entry for each contact.

Actual behaviour

The birthday calendar has three entries for each contact.

Server configuration

Operating system: Debian GNU/Linux Stretch

Web server: Apache 2.4

Database: MariaDB 10.1

PHP version: 7.0

Nextcloud version: 14.0.1

Updated from an older Nextcloud/ownCloud or fresh install: fresh install

Where did you install Nextcloud from: tar.gz

Signing status:
No errors have been found.

List of activated apps:
Enabled:

  • accessibility: 1.0.1
  • activity: 2.7.0
  • calendar: 1.6.2
  • cloud_federation_api: 0.0.1
  • comments: 1.4.0
  • contacts: 2.1.6
  • dav: 1.6.0
  • federatedfilesharing: 1.4.0
  • federation: 1.4.0
  • files: 1.9.0
  • files_pdfviewer: 1.3.2
  • files_sharing: 1.6.2
  • files_texteditor: 2.6.0
  • files_trashbin: 1.4.1
  • files_versions: 1.7.1
  • files_videoplayer: 1.3.0
  • firstrunwizard: 2.3.0
  • gallery: 18.1.0
  • logreader: 2.0.0
  • lookup_server_connector: 1.2.0
  • mail: 0.10.0
  • nextcloud_announcements: 1.3.0
  • notifications: 2.2.1
  • oauth2: 1.2.1
  • password_policy: 1.4.0
  • polls: 0.8.3
  • provisioning_api: 1.4.0
  • serverinfo: 1.4.0
  • sharebymail: 1.4.0
  • support: 1.0.0
  • survey_client: 1.2.0
  • systemtags: 1.4.0
  • theming: 1.5.0
  • twofactor_backupcodes: 1.3.1
  • updatenotification: 1.4.1
  • workflowengine: 1.4.0
    Disabled:
  • admin_audit
  • encryption
  • files_external
  • user_external
  • user_ldap

Nextcloud configuration:
{
"system": {
"instanceid": "REMOVED SENSITIVE VALUE",
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [
"nextcloud.ohrner.net"
],
"datadirectory": "REMOVED SENSITIVE VALUE",
"dbtype": "mysql",
"version": "14.0.1.1",
"overwrite.cli.url": "https://nextcloud.ohrner.net",
"dbname": "REMOVED SENSITIVE VALUE",
"dbhost": "REMOVED SENSITIVE VALUE",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"installed": true,
"memcache.local": "\OC\Memcache\APCu",
"memcache.locking": "\OC\Memcache\Redis",
"redis": {
"host": "REMOVED SENSITIVE VALUE",
"port": 6379
},
"mail_smtpmode": "smtp",
"mail_smtpauthtype": "PLAIN",
"mail_from_address": "REMOVED SENSITIVE VALUE",
"mail_domain": "REMOVED SENSITIVE VALUE",
"mail_smtphost": "REMOVED SENSITIVE VALUE",
"mail_smtpport": "25",
"mail_smtpsecure": "tls",
"updater.secret": "REMOVED SENSITIVE VALUE",
"maintenance": false,
"theme": "",
"loglevel": 2
}
}

Are you using external storage, if yes which one: local

Are you using encryption: no

Are you using an external user-backend, if yes which one: local users only

@gohrner
Copy link
Author

gohrner commented Sep 26, 2018

Addendum: Of course those entries persisted, they were not cleaned up by the cron job.

I now removed the birthday calendar and thought that the cron job should re-create it on its next run, but it does not seem to do so... Is there anything else I need to do to recreate the birthday calendar (with proper contents this time, of course...)?

@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #11305 (Deleting contacts not necessarily delets birthday-entries in birthday calendar), #4451 ("Delete Calendar" Issue), #10864 (Automatically delete old calendar events), #3003 (Disable birthday contacts calendar generation for user), and #1506 (Birthday events created while importing contacts should be deleted if addressbook containing the corresponding contact is deleted).

@gohrner gohrner closed this as completed Sep 26, 2018
@gohrner
Copy link
Author

gohrner commented Sep 26, 2018

Duplicate of #1506, sorry. :-/ Didn't find this issue while searching for a previous report.

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

2 participants