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

Updating reminders in recurring events not saved if event is in past #2707

Open fnetX opened 3 years ago

fnetX commented 3 years ago

Steps to reproduce

  1. Create a recurring event with multiple reminders
  2. Let the first event pass
  3. Try to update the reminder (remove one) on a past event and "Update this all and future"

Expected behaviour

All recurrences are updated.

Actual behaviour

The setting is not applied. Nothing is changed at all. It works if you update a recurrence that is about to come and update all from this one. It also works if you update only one recurrence but it's nicer if Nextcloud knows about the relation between recurring events.

Calendar app

Calendar app version: 2.1.2

CalDAV-clients used: not relevant

Client configuration

Browser: Firefox 82.0.3

Operating system: Debian 10 "Buster"

Server configuration

Operating system: Debian 10 Buster

Web server: Caddy w/ Proxy to Nextcloud Docker

Database: MariaDB

PHP version: 7.4.12

Nextcloud Version: 20.0.1

Updated from an older installed version or fresh install: Tracking docker releases since NC 19 on this instance

List of activated apps:

Enabled:
  - accessibility: 1.6.0
  - activity: 2.13.2
  - apporder: 0.11.0
  - bruteforcesettings: 2.0.1
  - calendar: 2.1.2
  - circles: 0.20.4
  - cloud_federation_api: 1.3.0
  - comments: 1.10.0
  - contacts: 3.4.2
  - contactsinteraction: 1.1.0
  - dashboard: 7.0.0
  - dav: 1.16.0
  - deck: 1.2.1
  - external: 3.7.1
  - extract: 1.2.5
  - federatedfilesharing: 1.10.1
  - federation: 1.10.1
  - files: 1.15.0
  - files_linkeditor: 1.1.2
  - files_pdfviewer: 2.0.1
  - files_rightclick: 0.17.0
  - files_sharing: 1.12.0
  - files_trashbin: 1.10.1
  - files_versions: 1.13.0
  - files_videoplayer: 1.9.0
  - firstrunwizard: 2.9.0
  - logreader: 2.5.0
  - lookup_server_connector: 1.8.0
  - mail: 1.7.0
  - notifications: 2.8.0
  - oauth2: 1.8.0
  - onlyoffice: 6.1.0
  - password_policy: 1.10.1
  - photos: 1.2.0
  - privacy: 1.4.0
  - provisioning_api: 1.10.0
  - registration: 0.5.1
  - serverinfo: 1.10.0
  - settings: 1.2.0
  - sharebymail: 1.10.0
  - tasks: 0.13.6
  - theming: 1.11.0
  - twofactor_backupcodes: 1.9.0
  - updatenotification: 1.10.0
  - user_status: 1.0.0
  - viewer: 1.4.0
  - weather_status: 1.0.0
  - workflowengine: 2.2.0

Nextcloud configuration:

{
    "system": {
        "htaccess.RewriteBase": "\/",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "cloud.splvs.net"
        ],
        "overwriteprotocol": "https",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "20.0.1.1",
        "overwrite.cli.url": "https:\/\/cloud.splvs.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,
        "mail_smtpmode": "smtp",
        "mail_smtpsecure": "tls",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauthtype": "PLAIN",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "maintenance": false,
        "loglevel": 0,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "app_install_overwrite": [
            "documentserver_community",
            "circles",
            "registration",
            "onlyoffice"
        ]
    }
}

Logs

Web server error log (e.g. /var/log/apache)

Nothing found

Log file (data/nextcloud.log)

Hopefully the relevant part

{"reqId":"U4zW0j51FCeZTXNLO4Cf","level":0,"time":"2020-11-18T21:34:35+00:00","remoteAddr":"172.17.0.1","user":"otto","app":"contacts","method":"PUT","url":"/remote.php/dav/calendars/otto/tu-e-technik_shared_by_karlson/1605037600.R653.ics","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0","version":"20.0.1.1"}
{"reqId":"U4zW0j51FCeZTXNLO4Cf","level":0,"time":"2020-11-18T21:34:35+00:00","remoteAddr":"172.17.0.1","user":"otto","app":"files_sharing","method":"PUT","url":"/remote.php/dav/calendars/otto/tu-e-technik_shared_by_karlson/1605037600.R653.ics","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0","version":"20.0.1.1"}
{"reqId":"U4zW0j51FCeZTXNLO4Cf","level":0,"time":"2020-11-18T21:34:35+00:00","remoteAddr":"172.17.0.1","user":"otto","app":"onlyoffice","method":"PUT","url":"/remote.php/dav/calendars/otto/tu-e-technik_shared_by_karlson/1605037600.R653.ics","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0","version":"20.0.1.1"}
{"reqId":"U4zW0j51FCeZTXNLO4Cf","level":1,"time":"2020-11-18T21:34:35+00:00","remoteAddr":"172.17.0.1","user":"otto","app":"no app in context","method":"PUT","url":"/remote.php/dav/calendars/otto/tu-e-technik_shared_by_karlson/1605037600.R653.ics","message":"Deprecated event type for \\OCA\\DAV\\CalDAV\\CalDavBackend::updateCalendarObject: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0","version":"20.0.1.1"}
{"reqId":"U4zW0j51FCeZTXNLO4Cf","level":1,"time":"2020-11-18T21:34:35+00:00","remoteAddr":"172.17.0.1","user":"otto","app":"no app in context","method":"PUT","url":"/remote.php/dav/calendars/otto/tu-e-technik_shared_by_karlson/1605037600.R653.ics","message":"Deprecated event type for \\OCA\\DAV\\CalDAV\\CalDavBackend::updateCalendarObject: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0","version":"20.0.1.1"}
{"reqId":"U4zW0j51FCeZTXNLO4Cf","level":1,"time":"2020-11-18T21:34:35+00:00","remoteAddr":"172.17.0.1","user":"otto","app":"no app in context","method":"PUT","url":"/remote.php/dav/calendars/otto/tu-e-technik_shared_by_karlson/1605037600.R653.ics","message":"Deprecated event type for \\OCA\\DAV\\CalDAV\\CalDavBackend::updateCalendarObject: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0","version":"20.0.1.1"}
{"reqId":"U4zW0j51FCeZTXNLO4Cf","level":1,"time":"2020-11-18T21:34:35+00:00","remoteAddr":"172.17.0.1","user":"otto","app":"no app in context","method":"PUT","url":"/remote.php/dav/calendars/otto/tu-e-technik_shared_by_karlson/1605037600.R653.ics","message":"Deprecated event type for \\OCA\\DAV\\CalDAV\\CalDavBackend::updateCalendarObject: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0","version":"20.0.1.1"}
{"reqId":"U4zW0j51FCeZTXNLO4Cf","level":1,"time":"2020-11-18T21:34:35+00:00","remoteAddr":"172.17.0.1","user":"otto","app":"no app in context","method":"PUT","url":"/remote.php/dav/calendars/otto/tu-e-technik_shared_by_karlson/1605037600.R653.ics","message":"Deprecated event type for \\OCA\\DAV\\CalDAV\\CalDavBackend::updateCalendarObject: Symfony\\Component\\EventDispatcher\\GenericEvent is used","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0","version":"20.0.1.1"}
{"reqId":"MifgdUPEdeSNemlzNDm9","level":0,"time":"2020-11-18T21:34:37+00:00","remoteAddr":"172.17.0.1","user":"otto","app":"apporder","method":"GET","url":"/apps/calendar/dayGridMonth/now/edit/sidebar/L3JlbW90ZS5waHAvZGF2L2NhbGVuZGFycy9vdHRvL3R1LWUtdGVjaG5pa19zaGFyZWRfYnlfa2FybHNvbi8xNjA1MDM3NjAwLlI2NTMuaWNz/1605258000","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0","version":"20.0.1.1"}
{"reqId":"MifgdUPEdeSNemlzNDm9","level":0,"time":"2020-11-18T21:34:37+00:00","remoteAddr":"172.17.0.1","user":"otto","app":"contacts","method":"GET","url":"/apps/calendar/dayGridMonth/now/edit/sidebar/L3JlbW90ZS5waHAvZGF2L2NhbGVuZGFycy9vdHRvL3R1LWUtdGVjaG5pa19zaGFyZWRfYnlfa2FybHNvbi8xNjA1MDM3NjAwLlI2NTMuaWNz/1605258000","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0","version":"20.0.1.1"}
{"reqId":"MifgdUPEdeSNemlzNDm9","level":0,"time":"2020-11-18T21:34:37+00:00","remoteAddr":"172.17.0.1","user":"otto","app":"external","method":"GET","url":"/apps/calendar/dayGridMonth/now/edit/sidebar/L3JlbW90ZS5waHAvZGF2L2NhbGVuZGFycy9vdHRvL3R1LWUtdGVjaG5pa19zaGFyZWRfYnlfa2FybHNvbi8xNjA1MDM3NjAwLlI2NTMuaWNz/1605258000","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0","version":"20.0.1.1"}
{"reqId":"MifgdUPEdeSNemlzNDm9","level":0,"time":"2020-11-18T21:34:37+00:00","remoteAddr":"172.17.0.1","user":"otto","app":"extract","method":"GET","url":"/apps/calendar/dayGridMonth/now/edit/sidebar/L3JlbW90ZS5waHAvZGF2L2NhbGVuZGFycy9vdHRvL3R1LWUtdGVjaG5pa19zaGFyZWRfYnlfa2FybHNvbi8xNjA1MDM3NjAwLlI2NTMuaWNz/1605258000","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0","version":"20.0.1.1"}
{"reqId":"MifgdUPEdeSNemlzNDm9","level":0,"time":"2020-11-18T21:34:37+00:00","remoteAddr":"172.17.0.1","user":"otto","app":"files_linkeditor","method":"GET","url":"/apps/calendar/dayGridMonth/now/edit/sidebar/L3JlbW90ZS5waHAvZGF2L2NhbGVuZGFycy9vdHRvL3R1LWUtdGVjaG5pa19zaGFyZWRfYnlfa2FybHNvbi8xNjA1MDM3NjAwLlI2NTMuaWNz/1605258000","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0","version":"20.0.1.1"}
{"reqId":"MifgdUPEdeSNemlzNDm9","level":0,"time":"2020-11-18T21:34:37+00:00","remoteAddr":"172.17.0.1","user":"otto","app":"files_sharing","method":"GET","url":"/apps/calendar/dayGridMonth/now/edit/sidebar/L3JlbW90ZS5waHAvZGF2L2NhbGVuZGFycy9vdHRvL3R1LWUtdGVjaG5pa19zaGFyZWRfYnlfa2FybHNvbi8xNjA1MDM3NjAwLlI2NTMuaWNz/1605258000","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0","version":"20.0.1.1"}
{"reqId":"MifgdUPEdeSNemlzNDm9","level":0,"time":"2020-11-18T21:34:37+00:00","remoteAddr":"172.17.0.1","user":"otto","app":"onlyoffice","method":"GET","url":"/apps/calendar/dayGridMonth/now/edit/sidebar/L3JlbW90ZS5waHAvZGF2L2NhbGVuZGFycy9vdHRvL3R1LWUtdGVjaG5pa19zaGFyZWRfYnlfa2FybHNvbi8xNjA1MDM3NjAwLlI2NTMuaWNz/1605258000","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0","version":"20.0.1.1"}
{"reqId":"MifgdUPEdeSNemlzNDm9","level":0,"time":"2020-11-18T21:34:37+00:00","remoteAddr":"172.17.0.1","user":"otto","app":"scss_cacher","method":"GET","url":"/apps/calendar/dayGridMonth/now/edit/sidebar/L3JlbW90ZS5waHAvZGF2L2NhbGVuZGFycy9vdHRvL3R1LWUtdGVjaG5pa19zaGFyZWRfYnlfa2FybHNvbi8xNjA1MDM3NjAwLlI2NTMuaWNz/1605258000","message":"SCSSCacher::process ordinary check follows","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0","version":"20.0.1.1"}
{"reqId":"MifgdUPEdeSNemlzNDm9","level":0,"time":"2020-11-18T21:34:37+00:00","remoteAddr":"172.17.0.1","user":"otto","app":"scss_cacher","method":"GET","url":"/apps/calendar/dayGridMonth/now/edit/sidebar/L3JlbW90ZS5waHAvZGF2L2NhbGVuZGFycy9vdHRvL3R1LWUtdGVjaG5pa19zaGFyZWRfYnlfa2FybHNvbi8xNjA1MDM3NjAwLlI2NTMuaWNz/1605258000","message":"SCSSCacher::process ordinary check follows","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0","version":"20.0.1.1"}
{"reqId":"MifgdUPEdeSNemlzNDm9","level":0,"time":"2020-11-18T21:34:37+00:00","remoteAddr":"172.17.0.1","user":"otto","app":"scss_cacher","method":"GET","url":"/apps/calendar/dayGridMonth/now/edit/sidebar/L3JlbW90ZS5waHAvZGF2L2NhbGVuZGFycy9vdHRvL3R1LWUtdGVjaG5pa19zaGFyZWRfYnlfa2FybHNvbi8xNjA1MDM3NjAwLlI2NTMuaWNz/1605258000","message":"SCSSCacher::process ordinary check follows","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0","version":"20.0.1.1"}
{"reqId":"MifgdUPEdeSNemlzNDm9","level":0,"time":"2020-11-18T21:34:37+00:00","remoteAddr":"172.17.0.1","user":"otto","app":"scss_cacher","method":"GET","url":"/apps/calendar/dayGridMonth/now/edit/sidebar/L3JlbW90ZS5waHAvZGF2L2NhbGVuZGFycy9vdHRvL3R1LWUtdGVjaG5pa19zaGFyZWRfYnlfa2FybHNvbi8xNjA1MDM3NjAwLlI2NTMuaWNz/1605258000","message":"SCSSCacher::process ordinary check follows","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0","version":"20.0.1.1"}
{"reqId":"MifgdUPEdeSNemlzNDm9","level":0,"time":"2020-11-18T21:34:37+00:00","remoteAddr":"172.17.0.1","user":"otto","app":"scss_cacher","method":"GET","url":"/apps/calendar/dayGridMonth/now/edit/sidebar/L3JlbW90ZS5waHAvZGF2L2NhbGVuZGFycy9vdHRvL3R1LWUtdGVjaG5pa19zaGFyZWRfYnlfa2FybHNvbi8xNjA1MDM3NjAwLlI2NTMuaWNz/1605258000","message":"SCSSCacher::process ordinary check follows","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0","version":"20.0.1.1"}
{"reqId":"MifgdUPEdeSNemlzNDm9","level":0,"time":"2020-11-18T21:34:37+00:00","remoteAddr":"172.17.0.1","user":"otto","app":"scss_cacher","method":"GET","url":"/apps/calendar/dayGridMonth/now/edit/sidebar/L3JlbW90ZS5waHAvZGF2L2NhbGVuZGFycy9vdHRvL3R1LWUtdGVjaG5pa19zaGFyZWRfYnlfa2FybHNvbi8xNjA1MDM3NjAwLlI2NTMuaWNz/1605258000","message":"SCSSCacher::process ordinary check follows","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0","version":"20.0.1.1"}

Browser log

The XHR PUT request returns 204 No Content, thus seems to be sucessful.


Thank you very much.

really-just-a-tech commented 2 years ago

Still applies to Calendar 3.3.0 on Nextcloud 23.0.4 🙁