[Owncloud] Stable4: Error message on creating user on calendar table

Thomas Tanghus thomas at tanghus.net
Tue Jul 17 12:33:39 UTC 2012


On Tuesday 17 July 2012 14:17 Arthur Schiwon wrote:
> Hey,
> 
> with current stable4 the following warning is being displayed after when
> creating a new user (using PostgreSQL, did not test with sqlite/mysql).
> 
> SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates
> unique constraint "oc_calendar_calendars_pkey" DETAIL: Key (id)=(0)
> already exists.

I just added a hook that creates a calendar on user creation, but why it 
should try to add one with id==0 I have no idea of. Works flawlessly with 
MySQL.

-- 
Med venlig hilsen / Best Regards

Thomas Tanghus



More information about the Owncloud mailing list