Skip to content

Long repeating events not correct shown on web-calender, if they begin before current view #2048

Closed
nextcloud/calendar-js
#99
@j-b-grenouille

Description

@j-b-grenouille

Steps to reproduce

  1. create an event (with web-calender, or with caldav client, or import ical from below)

--- begin ical (attachment was not accepted) ----
BEGIN:VCALENDAR
VERSION:2.0
CALSCALE:GREGORIAN
PRODID:-//SabreDAV//SabreDAV//EN
X-WR-CALNAME:test
X-APPLE-CALENDAR-COLOR:#f2fb3b
BEGIN:VTIMEZONE
TZID:Europe/Berlin
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
TZNAME:CEST
DTSTART:19700329T020000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
TZNAME:CET
DTSTART:19701025T030000
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
CREATED:20200303T191200Z
DTSTAMP:20200303T191537Z
LAST-MODIFIED:20200303T191537Z
SEQUENCE:3
UID:5463545f-cc71-4358-9c52-4da0fca918d0
DTSTART;TZID=Europe/Berlin:20200315T100000
DTEND;TZID=Europe/Berlin:20200402T110000
SUMMARY:non repeating
END:VEVENT
BEGIN:VEVENT
CREATED:20200303T190453Z
DTSTAMP:20200303T191420Z
LAST-MODIFIED:20200303T191420Z
SEQUENCE:4
UID:7ca216c7-bfab-4af2-a1bc-e10c0b7c9b45
DTSTART;TZID=Europe/Berlin:20200315T100000
DTEND;TZID=Europe/Berlin:20200402T100000
DESCRIPTION:only for test
SUMMARY:repeating example for bug
RRULE:FREQ=WEEKLY;COUNT=10;INTERVAL=6;BYDAY=SU
END:VEVENT
END:VCALENDAR
--- end ical ------

with duration of e.g. 20 days (e.g. 15.03.2020 to 02.04.2020) _and_ set up as repeating (e.g. Weeks, 6, end after 10 times)

  1. go to a webcalview where the evant is already running (e.g. Month april)

Expected behaviour

the event running until 02.04.2020 is visible

Actual behaviour

the event is not visible
only the next recurence beginning on 26.04.2020 is visibile
same problem with day-view and week view,
--- the event ist only visible if the first day is part of the current view

additional infos:
-- the events are correct shown on other caldav-clients, like android via davx
-- non repeating events are shown in the web-calendar as expected
-- testet with different browsers
-- was correct working with version calender app 1.6.1
(don't know about versions grater than 1.6.1. and lower then 2.0.2)

Calendar app

2.0.2

CalDAV-clients used: (DAVx5)

Client configuration

*Browser:
firefox quantum 68.5.0esr
on lineage:
build in browser
icecat mobile
Fennec

Operating system:
lineageos, debian 10

Server configuration

Operating system:
devuan ascii (Debian 9)

Web server:
apache 2.4.25
Database:
postgresql-9.6

PHP version:
7.3

Nextcloud Version:
17.0.3
**Updated from an older
yes

List of activated apps:

Enabled:

  • accessibility: 1.3.0
  • activity: 2.10.1
  • calendar: 2.0.2
  • cloud_federation_api: 1.0.0
  • comments: 1.7.0
  • contacts: 3.2.0
  • dav: 1.13.0
  • federatedfilesharing: 1.7.0
  • federation: 1.7.0
  • files: 1.12.0
  • files_pdfviewer: 1.6.0
  • files_rightclick: 0.15.1
  • files_sharing: 1.9.0
  • files_trashbin: 1.7.0
  • files_versions: 1.10.0
  • files_videoplayer: 1.6.0
  • firstrunwizard: 2.6.0
  • gallery: 18.4.0
  • logreader: 2.2.0
  • lookup_server_connector: 1.5.0
  • nextcloud_announcements: 1.6.0
  • notes: 3.1.5
  • notifications: 2.5.0
  • oauth2: 1.5.0
  • password_policy: 1.7.0
  • privacy: 1.1.0
  • provisioning_api: 1.7.0
  • recommendations: 0.5.0
  • serverinfo: 1.7.0
  • sharebymail: 1.7.0
  • support: 1.0.1
  • survey_client: 1.5.0
  • systemtags: 1.7.0
  • text: 1.1.1
  • theming: 1.8.0
  • twofactor_backupcodes: 1.6.0
  • updatenotification: 1.7.0
  • viewer: 1.2.0
  • workflowengine: 1.7.0

Nextcloud configuration:
"system": {
"instanceid": "REMOVED SENSITIVE VALUE",
"filelocking.enabled": true,
"memcache.local": "\OC\Memcache\APCu",
"memcache.locking": "\OC\Memcache\Redis",
"redis": { "host": "REMOVED SENSITIVE VALUE",
"port": 0 },
"passwordsalt": "REMOVED SENSITIVE VALUE", "secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [ "ssl.coulmann.de",
"gpl.coulmann.de"
],
"datadirectory": "REMOVED SENSITIVE VALUE",
"overwrite.cli.url": "https://ssl.coulmann.de/nc",
"dbtype": "pgsql",
"version": "17.0.3.1",
"dbname": "REMOVED SENSITIVE VALUE",
"dbhost": "REMOVED SENSITIVE VALUE",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"logtimezone": "UTC",
"installed": true,
"mail_smtpmode": "smtp",
"mail_from_address": "REMOVED SENSITIVE VALUE",
"mail_domain": "REMOVED SENSITIVE VALUE",
"mail_smtphost": "REMOVED SENSITIVE VALUE",
"mail_smtpport": "25",
"auth.bruteforce.protection.enabled": false,
"versions_retention_obligation": "1,7",
"updater.release.channel": "stable",
"maintenance": false,
"loglevel": 2,
"theme": "",
"trashbin_retention_obligation": "auto, 10"
}

Logs

no errors fond
also firefox webconsole shows only warnigs about deprecated functions


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    1. to developAccepted and waiting to be taken care ofbugcalendar-jsBugs in calendar-js

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions