Skip to content

Inconsistent behavior of birthday calendar settings #8043

@q-wertz

Description

@q-wertz

Steps to reproduce

As advised in #6562 (comment) I open a new ticket.
Not sure how/whether these things relate together and whether step 1-3 are a different issue independent of the other things.

  1. Activate Groupware > Automatically generate a birthday calendar in the admin settings

  2. Wait some time

  3. Some users do still not see an automatically generated birthday calendar (maybe also I didn't wait long enough). E.g. I had i visible

    Image
  4. Open calendar settings, birthday calendar is deactivated
    Image

  5. Activate the birthday calendar in the Calendar settings (one has to wait some time till button is not lightened anymore)

  6. The birthday calendar vanishes from Calendars list and one (shared by myself) appears in Shared calendars` category (as described in Birthday Calendar: Enabling adds calendar to the wrong list #6562
    Image

  7. Reload page

  8. Birthday calendar vanishes from Shared calendars and is again visible in Calendars category

  9. In calendar settings Birthday calendar is deactivated again
    Image

Expected behavior

  1. Activating the birthday calendar globally as admin activates the calendar for all users and also is reflected in the personal calendar app Calendar settings
  2. The calendar does not jump between categories when reloading page
  3. The calendar app Calendar settings option Birthday calendar reflects the true state
  4. Maybe clarify in Administration Groupware settings what happens when the Admin activates the birthday calendar (is it impossible for users to activate the birthday calendar when it is globally deactivated? Is it automatically shown after activating the admin setting for all users or does it just give the possibility for users to activate it? ...)

Actual behavior

Inconsistent behavior as described in steps to reproduce.

Calendar app version

6.2.1

CalDAV-clients used

Webinterface

Browser

Firefox 148.0

Client operating system

Manjaro Linux

Server operating system

Ubuntu 24.04

Web server

Nginx

Database engine version

MariaDB

PHP engine version

PHP 8.3

Nextcloud version

32.0.6

Updated from an older installed version or fresh install

Updated from an older version

List of activated apps

Enabled:
  - activity: 5.0.0
  - admin_audit: 1.22.0
  - app_api: 32.0.0
  - bruteforcesettings: 5.0.0
  - calendar: 6.2.1
  - circles: 32.0.0
  - cloud_federation_api: 1.16.0
  - comments: 1.22.0
  - contacts: 8.3.4
  - dashboard: 7.12.0
  - dav: 1.34.2
  - deck: 1.16.3
  - federatedfilesharing: 1.22.0
  - files: 2.4.0
  - files_downloadlimit: 5.0.0-dev.0
  - files_external: 1.24.1
  - files_fulltextsearch: 32.0.2
  - files_fulltextsearch_tesseract: 32.0.0
  - files_lock: 32.0.1
  - files_pdfviewer: 5.0.0
  - files_reminders: 1.5.0
  - files_sharing: 1.24.1
  - files_trashbin: 1.22.0
  - files_versions: 1.25.0
  - firstrunwizard: 5.0.0
  - fulltextsearch: 32.0.0
  - fulltextsearch_elasticsearch: 32.0.2
  - groupfolders: 20.1.12
  - integration_gitlab: 4.0.0
  - logreader: 5.0.0
  - lookup_server_connector: 1.20.0
  - mail: 5.7.2
  - nextcloud_announcements: 4.0.0
  - notifications: 5.0.0
  - notify_push: 1.3.0
  - oauth2: 1.20.0
  - password_policy: 4.0.0
  - photos: 5.0.0
  - polls: 8.6.3
  - previewgenerator: 5.13.0
  - privacy: 4.0.0
  - profile: 1.1.0
  - provisioning_api: 1.22.0
  - quota_warning: 1.23.0
  - recommendations: 5.0.0
  - related_resources: 3.0.0
  - richdocuments: 9.0.3
  - serverinfo: 4.0.0
  - settings: 1.15.1
  - sharebymail: 1.22.0
  - smb_test: 0.3.13
  - support: 4.0.0
  - systemtags: 1.22.0
  - tasks: 0.17.1
  - text: 6.0.1
  - theming: 2.7.0
  - twofactor_backupcodes: 1.21.0
  - updatenotification: 1.22.0
  - user_ldap: 1.23.0
  - user_status: 1.12.0
  - viewer: 5.0.0
  - weather_status: 1.12.0
  - webhook_listeners: 1.3.0
  - whiteboard: 1.5.7
  - workflowengine: 2.14.0
Disabled:
  - contactsinteraction: 1.13.1 (installed 1.2.0)
  - encryption: 2.20.0
  - federation: 1.22.0 (installed 1.15.0)
  - survey_client: 4.0.0 (installed 1.4.0)
  - suspicious_login: 10.0.0
  - twofactor_nextcloud_notification: 6.0.0
  - twofactor_totp: 14.0.0

Nextcloud configuration

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "nc.private-url.de"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "32.0.6.1",
        "overwrite.cli.url": "https:\/\/nc.private-url.de",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "mysql.utf8mb4": true,
        "maintenance": false,
        "session_lifetime": 604800,
        "session_keepalive": true,
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "25",
        "default_language": "de_DE",
        "default_locale": "de",
        "default_phone_region": "DE",
        "skeletondirectory": "",
        "loglevel": 2,
        "updater.release.channel": "stable",
        "app_install_overwrite": {
            "1": "files_fulltextsearch_tesseract"
        },
        "ldapIgnoreNamingRules": false,
        "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
        "lost_password_link": "disabled",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0
        },
        "activity_use_cached_mountpoints": false,
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "maintenance_window_start": 1,
        "defaultapp": ""
    }
}

Web server error log

Nothing. Access log shows some PROPFIND & REPORT of clients (but to other calendars)

Log file


Browser log

[ERROR] calendar: [Vue error]: Error in render: TypeError: can't access property "scheduleDefaultCalendarUrl", this.currentUserPrincipal is undefined 
Object { app: "calendar", uid: "92F7ED71-5921-4FED-AD86-46812A23B841", level: 2, error: TypeError, vm: {…}, info: "render" }
calendar-main.js:2:2952428
@nextcloud/calendar-js app is using version 2.2025b of the timezone database calendar-main.js:2:3082312
Calendar API not initialized yet calendar-main.js:2:5880604
Fallback to locale en calendar-main.js:2:5899532
Source map error: No sources are declared in this source map.
Resource URL: https://nc.ins.uni-stuttgart.de/apps/firstrunwizard/js/modulepreload-polyfill-CBWYtosv.chunk.mjs
Source Map URL: modulepreload-polyfill-CBWYtosv.chunk.mjs.map
Source map error: No sources are declared in this source map.
Resource URL: https://nc.ins.uni-stuttgart.de/apps/notifications/js/vite-preload-helper-B9rAsR6N.chunk.mjs
Source Map URL: vite-preload-helper-B9rAsR6N.chunk.mjs.map
Notifications permissions granted NotificationsApp-hrGoV45R.chunk.mjs:2:326991
Has notify_push enabled, slowing polling to 15 minutes NotificationsApp-hrGoV45R.chunk.mjs:2:322513
Polling interval updated to 900000 NotificationsApp-hrGoV45R.chunk.mjs:2:326422
Started background fetcher as session_keepalive is enabled NotificationsApp-hrGoV45R.chunk.mjs:2:323582
Got notification data, restoring default polling interval. NotificationsApp-hrGoV45R.chunk.mjs:2:325377
calendar home scanned 
Array(19) [ {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, … ]
 
Array [ {…} ]
 
Array []
calendar-main.js:2:189207

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    1. to developAccepted and waiting to be taken care ofbug

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions