Skip to content

personal calendar for newly created users has no calendar color set #11256

@mbiebl

Description

@mbiebl

Nextcloud: 13.0.6

When creating a new user, it by default gets a personal addressbook and calendar. Unfortunately, the calendar has not color set by default. Looking at the db dump, I see

INSERT INTO `sgnDV_calendars` (`id`, `principaluri`, `displayname`, `uri`, `synctoken`, `description`, `calendarorder`, `calendarcolor`, `timezone`, `components`, `transparent`) VALUES

(5, 'principals/users/test', 'Personal', 'personal', 1, NULL, 0, NULL, NULL, 'VEVENT,VTODO', 0);

Notice how calendarcolor is set to NULL.
Please pick a reasonable default instead of NULL

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