Bug Description
When a new user is created and "Include birthday calendar" is set
to "Yes" before any calendar exists, a 500 Internal Server Error occurs.
Same issue when trying to activate sharing without an existing calendar.
Steps to reproduce
- Create a new user
- Immediately set "Include birthday calendar = Yes" β Save
- β 500 Internal Server Error
Workaround
- First create a calendar for the user
- Then enable "Include birthday calendar" or sharing
β Works correctly
Environment
- Davis version: latest (davis-standalone)
- Database: MariaDB 10.11
- Deployed via Docker