calendar icon indicating copy to clipboard operation
calendar copied to clipboard

Calendar Widget is showing events from a "turned off" calendar

Open estux opened this issue 1 year ago • 2 comments

Steps to reproduce

  1. Go to the Calendar module
  2. Turn off the visibility of one calendar (by clicking on the color circle of the calendar)
  3. Go back to Dashboard (which has the Calendar Widget already active)
  4. See Next events also from that "turned off" calendar.

Expected behavior

If I turn off the visibility of one calendar this should mean I also prefer to not see its events in the widget.

Actual behaviour

In the Widget I'm seeing events from "turned off" calendars.

Calendar app version

4.7.8

CalDAV-clients used

DAVx5

Browser

Firefox 127

Client operating system

Windows 10

Server operating system

Linux 5.15.149-1-pve x86_64

Web server

Nginx

Database engine version

MySQL

PHP engine version

PHP 8.2

Nextcloud version

28.0.7

Updated from an older installed version or fresh install

Updated from an older version

List of activated apps

Enabled:
 - activity: 2.20.0
 - bookmarks: 14.2.2
 - bruteforcesettings: 2.8.0
 - calendar: 4.7.8
 - camerarawpreviews: 0.8.5
 - circles: 28.0.0
 - cloud_federation_api: 1.11.0
 - collectives: 2.12.0
 - comments: 1.18.0
 - contacts: 5.5.3
 - contactsinteraction: 1.9.0
 - cospend: 1.6.1
 - dashboard: 7.8.0
 - dav: 1.29.2
 - deck: 1.12.2
 - federatedfilesharing: 1.18.0
 - federation: 1.18.0
 - files: 2.0.0
 - files_pdfviewer: 2.9.0
 - files_reminders: 1.1.0
 - files_sharing: 1.20.0
 - files_trashbin: 1.18.0
 - files_versions: 1.21.0
 - firstrunwizard: 2.17.0
 - forms: 4.2.4
 - groupfolders: 16.0.7
 - guests: 3.0.1
 - impersonate: 1.15.0
 - logreader: 2.13.0
 - lookup_server_connector: 1.16.0
 - maps: 1.4.0
 - nextcloud_announcements: 1.17.0
 - notes: 4.10.0
 - notifications: 2.16.0
 - oauth2: 1.16.3
 - password_policy: 1.18.0
 - photos: 2.4.0
 - polls: 7.1.2
 - privacy: 1.12.0
 - provisioning_api: 1.18.0
 - recommendations: 2.0.0
 - related_resources: 1.3.0
 - richdocuments: 8.3.8
 - serverinfo: 1.18.0
 - settings: 1.10.1
 - sharebymail: 1.18.0
 - spreed: 18.0.9
 - support: 1.11.1
 - survey_client: 1.16.0
 - suspicious_login: 6.0.0
 - systemtags: 1.18.0
 - tables: 0.7.3
 - tasks: 0.16.0
 - text: 3.9.2
 - theming: 2.3.0
 - twofactor_backupcodes: 1.17.0
 - updatenotification: 1.18.0
 - user_status: 1.8.1
 - viewer: 2.2.0
 - weather_status: 1.8.0
 - welcome: 1.1.0
 - workflowengine: 2.10.0
Disabled:
 - admin_audit: 1.10.0
 - encryption
 - files_external
 - files_rightclick: 1.6.0
 - talk_matterbridge: 1.26.0
 - twofactor_totp
 - unsplash: 2.2.1
 - user_ldap

Nextcloud configuration

{
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "my domain"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "dbtype": "mysql",
    "version": "28.0.7.4",
    "overwrite.cli.url": "https:\/\/my domain",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "mysql.utf8mb4": true,
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "maintenance": false,
    "loglevel": 0,
    "logtimezone": "Europe\/Paris",
    "filesystem_check_changes": 1,
    "default_language": "it",
    "mail_smtpmode": "sendmail",
    "mail_smtpauthtype": "LOGIN",
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpauth": 1,
    "memcache.local": "\\OC\\Memcache\\Redis",
    "redis": {
        "host": "***REMOVED SENSITIVE VALUE***",
        "port": 6379
    },
    "memcache.locking": "\\OC\\Memcache\\Redis",
    "theme": "",
    "default_phone_region": "IT",
    "versions_retention_obligation": "auto,90",
    "trashbin_retention_obligation": "auto,30",
    "maintenance_window_start": 3
}

Web server error log

No response

Log file

No response

Browser log

No response

Additional info

This started to happen after upgrading to Nextcloud 28.0.7 (from Nextcloud 28.0.6) with Calendar version 4.7.6

estux avatar Jun 29 '24 19:06 estux

Also seeing this in NextCloud 27.1.11, Calendar version 4.7.11. Been seeing this for a while, was waiting to report until #5695 was resolved in case it was same root cause.

jpmv27 avatar Jul 15 '24 15:07 jpmv27

I can confirm it's still occurring in Nextcloud 9.0.3 (PHP 8.3.9 / mysql 10.6.18)

For my case at least, the widget is also not showing any "all day event" for the current day. It should show those until the day is over. I suspect it may be using the begin date rather than the end date as the point to stop displaying them.

Thank you for trying to sort all these widget issues out kesselb. It's apparently a lot more involved than it looks like on the surface.

snagglewest avatar Jul 18 '24 18:07 snagglewest

Closing as a duplicate of #6767. While Issue predates that one, #6767 has active development activity associated with it

joshtrichards avatar Apr 01 '25 20:04 joshtrichards