Skip to content

Calendar widget shows events in the order of creation _not_ in the order of schedule #5902

@kubuntu-newbie

Description

@kubuntu-newbie

Steps to reproduce

Create 6 events that all belong to the same calendar (calendar 1) so they show up on the widget (making widget full)
Create a new event in the same calendar (calendar 1) that is supposed to occur before the first event from the group before

all events could be on the same day or different days

Expected behavior

all events show up in the order of the time of their occurence / schedule, with the new event showing up before the 5 from original 6

Actual behaviour

this new event will not show up on the widget at all
note 1: if you now change to what calendar event belongs to (for example to calendar 2) it will show up

note 2: not to make it too complicated, but another test case - first 6 events belong to 2 different calendars and for as long as the new event is also in one of the original 2 calendars it will not show up even though it's the earliest of 7. Changing new event's calendar to a new calendar (calendar 3) will make it show up in the dashboard.

Calendar app version

4.6.7

CalDAV-clients used

none, looking at the dashboard of a nextcloud in the browser

Browser

Firefox 123.0.2

Client operating system

ubuntu, fedora

Server operating system

TrueNAS Scale 23.10.2

Web server

Nginx

Database engine version

PostgreSQL

PHP engine version

PHP 8.2

Nextcloud version

28.0.4 (Kubernetes version 1.6.59, Train: charts)

Updated from an older installed version or fresh install

Fresh install

List of activated apps

calendar
bookmarks
tasks
deck
photos

Nextcloud configuration

{
    "system": {
        "htaccess.RewriteBase": "\/",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "overwritehost": "nextcloud.home:9001",
        "overwriteprotocol": "https",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "upgrade.disable-web": true,
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "nextcloud.home"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "28.0.4.1",
        "overwrite.cli.url": "https:\/\/localhost",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "loglevel": 2,
        "default_phone_region": "US",
        "maintenance_window_start": 9,
        "filelocking.enabled": true,
        "mail_smtpmode": "smtp",
        "mail_smtpsecure": "ssl",
        "mail_sendmailmode": "smtp",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "password": "***REMOVED SENSITIVE VALUE***",
            "port": 30036
        }
    }
}

Web server error log

No response

Log file

No response

Browser log

No response

Additional info

this bug makes it very difficult to track events that were scheduled as recurring events resulting in having a lot of events missing from the dashboard with "tommorow's" events showing up and "today's" events missing

same thing happens in other types of installations, snap, manual etc, so I don't think it's OS dependent

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions