nextcloud / calendar

📆 Calendar app for Nextcloud
https://apps.nextcloud.com/apps/calendar
GNU Affero General Public License v3.0
982 stars 241 forks source link

Calendar events show my old email address as 'organiser' even if I've changed my address in Nextcloud #4220

Open dinosmm opened 2 years ago

dinosmm commented 2 years ago

Steps to reproduce

  1. Change email address of a user (in my case, I changed my email address and I am the admin, not sure if it makes any difference)
  2. Create a calendar event with one non-NC attendee and an email notification
  3. Look at attendees - old email address of organiser shown
  4. Calendar sends email notification to both old and current email address of attendee

Expected behavior

Show user's current email address as organiser and only send email notification to current email address

Actual behaviour

Calendar event shows user's old email address as organiser and sends email to both old and current email addresses

Calendar app version

3.3.0

CalDAV-clients used

n/a

Browser

Firefox 100

Client operating system

Windows & Ubuntu

Server operating system

Ubuntu 20.04

Web server

Nginx

Database engine version

MariaDB

PHP engine version

PHP 7.4

Nextcloud version

22.2.3

Updated from an older installed version or fresh install

No response

List of activated apps

Enabled:
  - accessibility: 1.8.0
  - activity: 2.15.0
  - apporder: 0.15.0
  - bruteforcesettings: 2.4.0
  - calendar: 3.3.0
  - circles: 22.1.1
  - cloud_federation_api: 1.5.0
  - comments: 1.12.0
  - contacts: 4.1.0
  - dashboard: 7.2.0
  - dav: 1.19.0
  - event_update_notification: 1.5.0
  - extract: 1.3.5
  - federatedfilesharing: 1.12.0
  - federation: 1.12.0
  - files: 1.17.0
  - files_accesscontrol: 1.12.1
  - files_downloadactivity: 1.13.0
  - files_downloadlimit: 1.0.1
  - files_external: 1.13.0
  - files_pdfviewer: 2.3.1
  - files_rightclick: 1.1.0
  - files_sharing: 1.14.0
  - files_trackdownloads: 1.11.0
  - files_trashbin: 1.12.0
  - files_versions: 1.15.0
  - files_videoplayer: 1.11.0
  - firstrunwizard: 2.11.0
  - groupfolders: 10.0.2
  - guests: 2.2.0
  - logreader: 2.7.0
  - lookup_server_connector: 1.10.0
  - maps: 0.1.10
  - news: 18.0.1
  - nextcloud_announcements: 1.11.0
  - notes: 4.3.1
  - notifications: 2.10.1
  - oauth2: 1.10.0
  - password_policy: 1.12.0
  - phonetrack: 0.7.0
  - photos: 1.4.0
  - previewgenerator: 4.0.0
  - privacy: 1.6.0
  - provisioning_api: 1.12.0
  - radio: 1.0.3
  - recommendations: 1.1.0
  - richdocuments: 4.2.6
  - riotchat: 0.11.3
  - serverinfo: 1.12.0
  - settings: 1.4.0
  - sharebymail: 1.12.0
  - spreed: 12.2.5
  - support: 1.5.0
  - survey_client: 1.10.0
  - suspicious_login: 4.1.0
  - systemtags: 1.12.0
  - text: 3.3.0
  - theming: 1.13.0
  - theming_customcss: 1.11.0
  - twofactor_admin: 3.2.0
  - twofactor_backupcodes: 1.11.0
  - twofactor_gateway: 0.19.0
  - twofactor_nextcloud_notification: 3.4.0
  - twofactor_totp: 6.3.0
  - twofactor_u2f: 6.3.0
  - twofactor_webauthn: 0.3.1
  - unsplash: 1.2.5
  - updatenotification: 1.12.0
  - user_status: 1.2.0
  - viewer: 1.6.0
  - weather_status: 1.2.0
  - welcome: 1.0.1
  - workflowengine: 2.4.0
Disabled:
  - admin_audit
  - contactsinteraction
  - encryption
  - files_fulltextsearch
  - fulltextsearch
  - user_ldap

Nextcloud configuration

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "*Domain*"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "22.2.3.0",
        "overwrite.cli.url": "**domain**",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "filelocking.enabled": true,
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379,
            "timeout": 0,
            "password": "***REMOVED SENSITIVE VALUE***"
        },
        "default_phone_region": "GB",
        "twofactor_enforced": "true",
        "twofactor_enforced_groups": [],
        "twofactor_enforced_excluded_groups": [],
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "25",
        "mail_smtptimeout": 30,
        "log_type": "file",
        "logfile": "\/home\/dinosm\/log\/nextcloud.log",
        "loglevel": 0,
        "logdateformat": "F d, Y H:i:s",
        "maintenance": false,
        "app_install_overwrite": [
            "radio"
        ],
        "has_rebuilt_cache": true,
        "theme": "",
        "preview_max_x": "2048",
        "preview_max_y": "2048",
        "jpeg_quality": "60",
        "enable_previews": true,
        "enabledPreviewProviders": [
            "OC\\Preview\\PNG",
            "OC\\Preview\\JPEG",
            "OC\\Preview\\GIF",
            "OC\\Preview\\HEIC",
            "OC\\Preview\\BMP"
        ]
    }
}

Web server error log

No response

Log file

As this is huge and not sure what to look for, if someone can help point out what to look for, I will paste any relevant section.

Browser log

No response

Additional info

No response

tcitworld commented 2 years ago

Are you sure you created the event after changing the email? There shouldn't be a cache of any kind at this level.

dinosmm commented 2 years ago

Yes, 100% because the email was changed ages ago (months), but the even was just created yesterday.

tcitworld commented 2 years ago

Could it be that the attendee was auto-completed from your contacts, which have the previous email address?

dinosmm commented 2 years ago

I tried and tried yesterday but can't reproduce this. The organiser attendee is auto-added as soon as I add one attendee, so there is no way I could have added it myself.

Here's what that event's attendees section looks like: image

Any other event I have tried to enter, the organiser just shows my name, and the email notifications come to the correct email address and only that one. It's just that one event somehow got added in this broken way.