nextcloud / calendar

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

Cannot accept calendar invitations via email since calendar v5 + nc30 #6368

Open artfulrobot opened 2 hours ago

artfulrobot commented 2 hours ago

Steps to reproduce

  1. Create a calendar, share it with 2 other users (A, B).
  2. As A: create an event on the shared calendar and invite B as attendee.
  3. B receives invitation, clicks Accept, sees "Your attendance was updated successfully."
  4. As any user, reload your calendar page and re-check the event: B's invite is still pending, despite them clicking Accept and getting the confirmation.

Expected behavior

Clicking "accept" in an invitation in an email should accept the invitation on behalf of the user to whom the email was sent for the meeting in question.

Actual behaviour

The invite is not accepted.

Calendar app version

5.0.0

CalDAV-clients used

No response

Browser

Firefox

Client operating system

Fedora Linux

Server operating system

No response

Web server

None

Database engine version

None

PHP engine version

PHP 8.1

Nextcloud version

30.0.0

Updated from an older installed version or fresh install

Updated from an older version

List of activated apps

No response

Nextcloud configuration

{                                                                                                                                                                   
    "system": {                                                                                                                                                     
        "instanceid": "***REMOVED SENSITIVE VALUE***",                                                                                                              
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",                                                                                                            
        "secret": "***REMOVED SENSITIVE VALUE***",                                                                                                                  
        "trusted_domains": [                                                                                                                                        
            "example.org"                                                                                                                              
        ],                                                                                                                                                          
        "datadirectory": "***REMOVED SENSITIVE VALUE***",                                                                                                           
        "dbtype": "mysql",                                                                                                                                          
        "version": "30.0.0.14",                                                                                                                                     
        "overwrite.cli.url": "https:\/\/safe.peopleandplanet.org",                                                                                                  
        "default_phone_region": "GB",                                                                                                                               
        "dbname": "***REMOVED SENSITIVE VALUE***",                                                                                                                  
        "dbhost": "***REMOVED SENSITIVE VALUE***",                                                                                                                  
        "dbport": "",                                                                                                                                               
        "dbtableprefix": "oc_",                                                                                                                                     
        "dbuser": "***REMOVED SENSITIVE VALUE***",                                                                                                                  
        "dbpassword": "***REMOVED SENSITIVE VALUE***",                                                                                                              
        "installed": true,                                                                                                                                          
        "mail_smtpmode": "sendmail",                                                                                                                                
        "mail_sendmailmode": "smtp",                                                                                                                                
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",                                                                                                       
        "mail_domain": "***REMOVED SENSITIVE VALUE***",                                                                                                             
        "maintenance": false,                                                                                                                                       
        "theme": "",                                                                                                                                                
        "loglevel": 2,                                                                                                                                              
        "updater.release.channel": "stable",                                                                                                                        
        "mysql.utf8mb4": true,                                                                                                                                      
        "trashbin_retention_obligation": "auto, 120",                                                                                                               
        "memcache.local": "\\OC\\Memcache\\Redis",                                                                                                                  
        "memcache.distributed": "\\OC\\Memcache\\Redis",                                                                                                            
        "memcache.locking": "\\OC\\Memcache\\Redis",                                                                                                                
        "redis": {                                                                                                                                                  
            "host": "***REMOVED SENSITIVE VALUE***",                                                                                                                
            "port": 6379                                                                                                                                            
        },                                                                                                                                                          
        "skeletondirectory": "",                                                                                                                                    
        "app_install_overwrite": [                                                                                                                                  
            "impersonate"                                                                                                                                           
        ],                                                                                                                                                          
        "maintenance_window_start": "1",                                                                                                                            
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",                                                                                                           
        "mail_smtpport": "25",                                                                                                                                      
        "memories.db.triggers.fcu": true,                                                                                                                           
        "memories.exiftool": "\/var\/www\/example.org\/web\/apps\/memories\/bin-ext\/exiftool-amd64-glibc",                                            
        "memories.vod.path": "\/var\/www\/example.org\/web\/apps\/memories\/bin-ext\/go-vod-amd64",                                                    
        "memories.index.path.blacklist": "@\\\/(\\.|recycle|trash|restricted)\\b@i",                                                                                
        "enabledPreviewProviders": [                                                                                                                                
            "OC\\Preview\\Image",                                                                                                                                   
            "OC\\Preview\\HEIC",                                                                                                                                    
            "OC\\Preview\\TIFF",                                                                                                                                    
            "OC\\Preview\\Movie"                                                                                                                                    
        ],                                                                                                                                                          
        "preview_max_x": 1024,                                                                                                                                      
        "preview_max_y": 1024,                                                                                                                                      
        "memories.gis_type": 1,                                                                                                                                     
        "memories.index.mode": "0",                                                                                                                                 
        "memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",                                                                                                                
        "memories.vod.ffprobe": "\/usr\/bin\/ffprobe"                                                                                                               
    }                                                                                                                                                               
}

Web server error log

No response

Log file

No response

Browser log

No response

Additional info

No response

artfulrobot commented 2 hours ago

Note: the same behaviour exhibits if you use the "More options..." link in the email and then click Accept and then click Save.

There are no errors in the web console log.

Accepting the invite via thunderbird does work.

So it seems that it's just the links sent in emails that don't work (although they appear to work to the user)