nextcloud / calendar

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

Unexpected behavior dashboard "Upcoming events" widget #5695

Closed jpmv27 closed 3 months ago

jpmv27 commented 8 months ago

Steps to reproduce

  1. Have Calendar with upcoming events
  2. Have Dashboard with Upcoming events widget
  3. Open Dashboard

Expected behavior

Upcoming events are listed in the widget

Actual behaviour

Upcoming events not listed or incompletely listed.

Two different users. Two different behaviors.

User 1: Event ten days from today, multiple intermediate events between now and then. Only the event ten days away is being displayed.

User 2: Multiple events three, four, and 10+ days away. No events are displayed.

Calendar app version

4.6.3

CalDAV-clients used

DAVx5

Browser

Firefox 121.0.1

Client operating system

Windows 10

Server operating system

CentOS

Web server

Apache

Database engine version

PostgreSQL

PHP engine version

PHP 8.2

Nextcloud version

27.1.5

Updated from an older installed version or fresh install

Updated from an older version

List of activated apps

No response

Nextcloud configuration

No response

Web server error log

No response

Log file

No errors in logs

Browser log

No response

Additional info

Logs and additional info can be provided upon request, if required

jpmv27 commented 8 months ago

Updated problem description to correct PHP 8.1 -> 8.2

jpmv27 commented 7 months ago

Updated Calendar app to 4.6.4. No change in behavior. Did observe some errors in logs during update. Screen shot attached. image

sgofferj commented 7 months ago

Same issue.

NC 27.1.6 in Docker 24.0.7 on Ubuntu 22.04 PHP 8.2.15, Zend 4.2.15, Zend OPcache 8.2.15 Nginx 1.25.3 mariadb Ver 15.1 Distrib 10.5.23-MariaDB Calendar app 4.6.4 Browsers: Chrome & Firefox latest on Ubuntu 22.04 and Windows 10

Edit: no errors found in logfile

jpmv27 commented 6 months ago

Not sure whether related or not: one of the users experiencing this issue have a calendar that is "disabled" in the sidebar (open circle instead of filled circle) and they are reporting that events from this "disabled" calendar are showing up in the dashboard.

Still seeing original issue of missing events.

Current versions: NC 27.1.6 Calendar 4.6.5

jpmv27 commented 6 months ago

Another observation. We are in Eastern timezone, DST is in effect. Today is Wednesday, it is currently 20:30. There is an upcoming appointment at 10:00 on Friday. The dashboard is showing that appointment as happening "tomorrow".

P.S. I suspect this is related to Feb 29th/leap year. Do you want me to make this into a new issue?

sgofferj commented 6 months ago

Problem persists in NC 28.0.2, Calendar 4.6.6

McLibboc commented 6 months ago

Same here. This makes the widget completely useless.

mclang commented 5 months ago

Noticed similar problem.

Except for me Upcoming Events -widget does show local Nextcloud calendar events but not external Google ones as it did before updating to Nextcloud v27. Furthermore, an event in local calendar that is scheduled on Thursday is displayed as tomorrow although today is Tuesday.

Edit: And now it displays today...

gurbina93 commented 4 months ago

Nothing shown on my widget except personal calendar. Everything else is excluded.

DriedPlumber commented 4 months ago

As others, I have to confirm that google imported calendars are not showing in Nextcloud Hub 7 (28.0.4) Even when I manually change from imported calendar reminder time in NC, card "Upcoming events" is empty.

If I try to create new event in calendar then it will be showing in the widget!

kesselb commented 4 months ago

Thanks for your bug report :+1:

I've worked on two patches, which are also scheduled for the upcoming releases of Nextcloud 28 (2024-05-23) and Nextcloud 29 (2024-05-23), to address some issues regarding the upcoming events widget.

1) Bring back events from subscribed calendars: https://github.com/nextcloud/server/pull/44752

2) Fix an issue with reoccurrence: https://github.com/nextcloud/server/pull/45222

I've added a link to the second issue to close this bug report when the patch is merged.

I hope, but cannot say for sure, if those patches already enough. Please log a fresh issue if your issue is still there with Nextcloud 28.0.6 or Nextcloud 29.0.0.1.

It's often helpful to let us know if the problem exists with your personal calendar, a shared calendar (by you or to you), or a calendar subscription. Moreover, exporting an ICS file is often helpful.

Thank you and stay tuned!

jpmv27 commented 4 months ago

Thanks! Unfortunately I'm stuck on NC 27 while waiting for some other apps to be supported on 28+. Hopefully others who have encountered this can test sooner.

kesselb commented 3 months ago

Please log a fresh issue if your issue is still there with Nextcloud 28.0.6 or Nextcloud 29.0.0.1.

I missed the merge window for 28.0.6 and 29.0.1. They are scheduled now for 28.0.7 and ~29.0.2~ 29.0.3.

jpmv27 commented 2 months ago

Can confirm it is fixed in NextCloud 27.1.11