nextcloud / nextcloud/server

Propagate birthday events from system address book to each user's birthday calendar

Open
#49,484 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage 30-feedback enhancement feature: caldav feature: carddav
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

⚠️ This issue respects the following points: ⚠️
Bug description

the birthday calendar does not use the dates of birth stored by the users.
Only manually created contacts and their dates of birth appear in the birth calendar.

Steps to reproduce
  1. User stores his date of birth in the personal settings
  2. User 2 then activates the birthday calendar
  3. Birth dates are not displayed
Expected behavior

the birthday calendar should use the data from all address books. So the self-created contacts and especially the system contacts which are located in the system address book, which contains all accounts.

Nextcloud Server version

30

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.3

Web server

Apache (supported)

Database engine version

PostgreSQL

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?
  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other
Configuration report
{
    "ocs": {
        "meta": {
            "status": "ok",
            "statuscode": 200,
            "message": "OK"
        },
        "data": {
            "nextcloud": {
                "system": {
                    "version": "30.0.2.2",
                    "theme": "none",
                    "enable_avatars": "yes",
                    "enable_previews": "yes",
                    "memcache.local": "\\OC\\Memcache\\APCu",
                    "memcache.distributed": "\\OC\\Memcache\\Redis",
                    "filelocking.enabled": "yes",
                    "memcache.locking": "\\OC\\Memcache\\Redis",
                    "debug": "no",
                    "freespace": 3964443439104,
                    "cpuload": [
                        1.55322265625,
                        1.27099609375,
                        1.30224609375
                    ],
                    "mem_total": 65106944,
                    "mem_free": 47240192,
                    "swap_total": 999424,
                    "swap_free": 999424,
                    "apps": {
                        "num_installed": 81,
                        "num_updates_available": 0,
                        "app_updates": []
                    },
                    "update": {
                        "lastupdatedat": 0,
                        "available": false
                    }
                },
                "storage": {
                    "num_users": 2,
                    "num_files": 52521,
                    "num_storages": 3,
                    "num_storages_local": 1,
                    "num_storages_home": 2,
                    "num_storages_other": 0
                },
                "shares": {
                    "num_shares": 7,
                    "num_shares_user": 0,
                    "num_shares_groups": 0,
                    "num_shares_link": 4,
                    "num_shares_mail": 0,
                    "num_shares_room": 2,
                    "num_shares_link_no_password": 4,
                    "num_fed_shares_sent": 0,
                    "num_fed_shares_received": 0,
                    "permissions_10_19": 1,
                    "permissions_11_19": 1,
                    "permissions_10_1": 1,
                    "permissions_3_21": 1,
                    "permissions_3_19": 3
                }
            },
            "server": {
                "webserver": "Apache/2.4.62 (Unix)",
                "php": {
                    "version": "8.3.13",
                    "memory_limit": 536870912,
                    "max_execution_time": 3600,
                    "upload_max_filesize": 10737418240,
                    "opcache_revalidate_freq": 60,
                    "opcache": {
                        "opcache_enabled": true,
                        "cache_full": false,
                        "restart_pending": false,
                        "restart_in_progress": false,
                        "memory_usage": {
                            "used_memory": 160573128,
                            "free_memory": 107855544,
                            "wasted_memory": 6784,
                            "current_wasted_percentage": 0.0025272369384765625
                        },
                        "interned_strings_usage": {
                            "buffer_size": 67108864,
                            "used_memory": 25688896,
                            "free_memory": 41419968,
                            "number_of_strings": 134302
                        },
                        "opcache_statistics": {
                            "num_cached_scripts": 3761,
                            "num_cached_keys": 7226,
                            "max_cached_keys": 16229,
                            "hits": 1444255,
                            "start_time": 1732554520,
                            "last_restart_time": 0,
                            "oom_restarts": 0,
                            "hash_restarts": 0,
                            "manual_restarts": 0,
                            "misses": 3776,
                            "blacklist_misses": 0,
                            "blacklist_miss_ratio": 0,
                            "opcache_hit_rate": 99.73923210207516
                        },
                        "jit": {
                            "enabled": true,
                            "on": true,
                            "kind": 5,
                            "opt_level": 5,
                            "opt_flags": 6,
                            "buffer_size": 8388592,
                            "buffer_free": 7330464
                        }
                    },
                    "apcu": {
                        "cache": {
                            "num_slots": 4099,
                            "ttl": 0,
                            "num_hits": 117418,
                            "num_misses": 1677,
                            "num_inserts": 1706,
                            "num_entries": 422,
                            "expunges": 0,
                            "start_time": 1732554520,
                            "mem_size": 945944,
                            "memory_type": "mmap"
                        },
                        "sma": {
                            "num_seg": 1,
                            "seg_size": 33554312,
                            "avail_mem": 32561024
                        }
                    },
                    "extensions": [
                        "Core",
                        "date",
                        "libxml",
                        "openssl",
                        "pcre",
                        "sqlite3",
                        "zlib",
                        "ctype",
                        "curl",
                        "dom",
                        "fileinfo",
                        "filter",
                        "hash",
                        "iconv",
                        "json",
                        "mbstring",
                        "SPL",
                        "session",
                        "PDO",
                        "pdo_sqlite",
                        "bz2",
                        "posix",
                        "random",
                        "readline",
                        "Reflection",
                        "standard",
                        "SimpleXML",
                        "tokenizer",
                        "xml",
                        "xmlreader",
                        "xmlwriter",
                        "mysqlnd",
                        "cgi-fcgi",
                        "apcu",
                        "bcmath",
                        "Phar",
                        "exif",
                        "ftp",
                        "gd",
                        "gmp",
                        "igbinary",
                        "imagick",
                        "imap",
                        "intl",
                        "ldap",
                        "memcached",
                        "pcntl",
                        "pdo_pgsql",
                        "pgsql",
                        "redis",
                        "smbclient",
                        "sodium",
                        "sysvsem",
                        "zip",
                        "libsmbclient",
                        "Zend OPcache"
                    ]
                },
                "database": {
                    "type": "pgsql",
                    "version": "PostgreSQL 16.4 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20240309) 13.2.1 20240309, 64-bit",
                    "size": "85078499"
                }
            },
            "activeUsers": {
                "last5minutes": 1,
                "last1hour": 1,
                "last24hours": 1,
                "last7days": 1,
                "last1month": 1,
                "last3months": 1,
                "last6months": 1,
                "lastyear": 1
            }
        }
    }
}
List of activated Apps

Nextcloud Signing status
No errors have been found.
Nextcloud Logs

Additional info

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Start by tracing the birthday-calendar handling and how it reads address books, then reproduce the case with personal and system contacts; done means birthdays from both sources appear in the user's birthday calendar.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.