calendar icon indicating copy to clipboard operation
calendar copied to clipboard

Events with RRULE using BYDAY and BYWEEKNO are not shown

Open tchernobog opened this issue 3 years ago • 0 comments

Steps to reproduce

  1. Try to import the following event in a calendar:
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//IDN montecristosoftware.eu//cooking-schedule 0.0.0//EN
BEGIN:VEVENT
UID:[email protected]
DTSTAMP:20220729T192029Z
SUMMARY:Pasta fredda con pesto senza aglio
DESCRIPTION:cookbook@72130
LOCATION:https://ricette.giallozafferano.it/Pasta-fredda-con-pesto-senz-agl
 io.html
DTSTART;TZID=Europe/Berlin:20220705T184000
DTEND;TZID=Europe/Berlin:20220705T190000
RRULE:FREQ=YEARLY;BYDAY=TU;BYWEEKNO=27
BEGIN:VALARM
ACTION:DISPLAY
TRIGGER;RELATED=START:-PT15M
DESCRIPTION:Pasta fredda con pesto senza aglio
END:VALARM
END:VEVENT
END:VCALENDAR

Expected behavior

The event is shown in the calendar at date 2022-07-05, 2023-07-04, 2022-07-02...

See also this demo of the rule.

Syncing the calendar to my phone to DAVx5, or using my PC's mail program (Evolution) shows the event correctly, ponting to a bug in Nextcloud.

Actual behaviour

The event is not shown in the calendar on the web at all, at least in week, day, and list view. Sometimes (baffingly) some event show up correctly in monthly view.

Calendar app version

3.4.2

CalDAV-clients used

DAVx5, Evolution

Browser

Firefox 103.0

Client operating system

Debian GNU/Linux bookworm

Server operating system

Ubuntu Server 22.04

Web server

Apache

Database engine version

PostgreSQL

PHP engine version

PHP 8.1

Nextcloud version

24.0.3

Updated from an older installed version or fresh install

Updated from an older version

List of activated apps

Enabled:
  - accessibility: 1.10.0
  - activity: 2.16.0
  - admin_audit: 1.14.0
  - bruteforcesettings: 2.4.0
  - calendar: 3.4.2
  - circles: 24.0.0
  - cloud_federation_api: 1.7.0
  - comments: 1.14.0
  - contacts: 4.2.0
  - contactsinteraction: 1.5.0
  - cookbook: 0.9.13
  - dashboard: 7.4.0
  - dav: 1.22.0
  - deck: 1.7.1
  - drawio: 1.0.3
  - federatedfilesharing: 1.14.0
  - federation: 1.14.0
  - files: 1.19.0
  - files_external: 1.16.1
  - files_pdfviewer: 2.5.0
  - files_retention: 1.13.2
  - files_rightclick: 1.3.0
  - files_sharing: 1.16.2
  - files_trashbin: 1.14.0
  - files_versions: 1.17.0
  - files_videoplayer: 1.13.0
  - firstrunwizard: 2.13.0
  - gpxpod: 4.3.0
  - integration_gitlab: 1.0.3
  - logreader: 2.9.0
  - lookup_server_connector: 1.12.0
  - mail: 1.13.7
  - maps: 0.1.10
  - nextcloud_announcements: 1.13.0
  - notes: 4.4.0
  - notifications: 2.12.0
  - oauth2: 1.12.0
  - password_policy: 1.14.0
  - photos: 1.6.0
  - privacy: 1.8.0
  - provisioning_api: 1.14.0
  - recommendations: 1.3.0
  - richdocuments: 6.1.1
  - richdocumentscode: 22.5.401
  - serverinfo: 1.14.0
  - settings: 1.6.0
  - sharebymail: 1.14.0
  - spreed: 14.0.3
  - support: 1.7.0
  - survey_client: 1.12.0
  - systemtags: 1.14.0
  - talk_matterbridge: 1.25.2
  - text: 3.5.1
  - theming: 1.15.0
  - twofactor_backupcodes: 1.13.0
  - twofactor_totp: 6.4.0
  - updatenotification: 1.14.0
  - user_status: 1.4.0
  - viewer: 1.8.0
  - weather_status: 1.4.0
  - workflowengine: 2.6.0
Disabled:
  - encryption: 2.12.0
  - user_ldap

Nextcloud configuration

{
    "system": {
        "debug": false,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "nextcloud.montecristosoftware.eu"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "24.0.3.2",
        "overwrite.cli.url": "https:\/\/nextcloud.montecristosoftware.eu",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "htaccess.RewriteBase": "\/",
        "installed": true,
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "sendmail",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "filelocking.enabled": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "maintenance": false,
        "theme": "",
        "loglevel": 1,
        "log_type": "syslog",
        "syslog_tag": "Nextcloud",
        "logfile": "",
        "updater.release.channel": "stable",
        "default_phone_region": "DE",
        "twofactor_enforced": "false",
        "twofactor_enforced_groups": [
            "admin"
        ],
        "twofactor_enforced_excluded_groups": [],
        "app_install_overwrite": [
            "cookbook",
            "drawio",
            "talk_matterbridge"
        ]
    }
}

Web server error log

No response

Log file

No response

Browser log

No response

Additional info

No response

tchernobog avatar Jul 29 '22 19:07 tchernobog