-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Hi,
It looks like it is not allowed to assign the same email address to more than one resource.
Let's say I want to set up "hotspots" resources, we get more than one and they're all under the responsibility of the same guy.
So here's what I enter:
sudo -u www-data php /var/www/nextcloud/occ calendar-resource:resource:create "HS1" 3 "Hotspot 1" "tech@domain" "Internet Access Point" "Name"
Right, here's for the 1st one.
Then:
sudo -u www-data php /var/www/nextcloud/occ calendar-resource:resource:create "HS2" 3 "Hotspot 2" "tech@domain" "Internet Access Point" "Name"
And here's what I get:
In ExceptionConverter.php line 60:
An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'tech@domain' for key 'calresources_resources_eml'
In Exception.php line 26:
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'tech@domain' for key 'calresources_resources_eml'
In Statement.php line 92:
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'tech@domain' for key 'calresources_resources_eml'
calendar-resource:resource:create <uid> <building_id> <display_name> <email> <resource_type> [<contact_person_user_id>]
Metadata
Metadata
Assignees
Labels
No labels