Skip to content

DB Error: [1048] Column 'color' cannot be null (SQL Query: INSERT INTO caldav_calendars #39

Description

@internethering

Hello, the $config['calendar_caldav_preinstalled_sources'] doesn't work:

<fjks17fa> DB Error: [1048] Column 'color' cannot be null (SQL Query: INSERT INTO caldav_calendars
(user_id, source_id, name, color, showalarms, caldav_url, caldav_tag, is_ical)
VALUES ('1', '5', 'Persönlich', NULL, '0', 'https://<private>/personal', NULL, '0')) in /var/www/webmail/htdocs/program/lib/Roundcube/rcube_db.php on line 567 (POST /?_task=calendar&_action=refresh)

I tried also:

$config['calendar_caldav_preinstalled_sources'] = array(
    'personal' => array(
        'caldav_user' => '%u',
        'caldav_pass' => '%p',
        'caldav_url'  => 'https://<private>/personal',
        'color'       => 'cc0000',
        'showAlarms'  => 1
   )
);

The old texxasrulez-calendar worked with color.

Edith: trying to add calendar manuel doesn't work because of Column 'color' cannot be null too

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions