calendar icon indicating copy to clipboard operation
calendar copied to clipboard

Unexpected behavior dashboard "Upcoming events" widget

Open jpmv27 opened this issue 1 year ago • 10 comments

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 avatar Jan 15 '24 17:01 jpmv27

Updated problem description to correct PHP 8.1 -> 8.2

jpmv27 avatar Jan 17 '24 13:01 jpmv27

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

jpmv27 avatar Jan 21 '24 16:01 jpmv27

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

sgofferj avatar Jan 28 '24 09:01 sgofferj

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 avatar Feb 28 '24 18:02 jpmv27

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?

jpmv27 avatar Feb 29 '24 01:02 jpmv27

Problem persists in NC 28.0.2, Calendar 4.6.6

sgofferj avatar Mar 07 '24 09:03 sgofferj

Same here. This makes the widget completely useless.

McLibboc avatar Mar 12 '24 10:03 McLibboc

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...

mclang avatar Apr 09 '24 07:04 mclang

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

gurbina93 avatar Apr 19 '24 19:04 gurbina93

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!

DriedPlumber avatar Apr 27 '24 06:04 DriedPlumber

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!

kesselb avatar May 07 '24 20:05 kesselb

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.

jpmv27 avatar May 07 '24 20:05 jpmv27

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.

kesselb avatar May 24 '24 14:05 kesselb

Can confirm it is fixed in NextCloud 27.1.11

jpmv27 avatar Jul 03 '24 19:07 jpmv27