Calendar entry can not be moved - 409 php error
Hey,
first of all thanks for the project. I`d like to switch to davical and setup everything in my testing environment.
While testing I encountered the following error:
nginx[25868]: ... [error] 25870#25870: *1564 FastCGI sent in stderr: "PHP message: davical: LOG: :Response status 409 for MOVE /davical/htdocs/caldav.php/test/calendar/2645297A-05F6-4D6F-94B7-DDBDBADA17A8.ics
I use davial on archlinux and the error occurs (reproducable) when trying to move an calendar event from one calendar to another and both calendars belong to the same principal. I use macos 10.13 iCal as a client. To reproduce create a new user in the davical webinterface and add two or more calendars to the same user. Connect to the user from iCal, add a calendar entry to cal1. Then duplicate the entry, double click it and select cal2 of the same user as calendar.
I hope I explained it o.k.
When trying the same procedure to duplicate and move an entry from cal1 user1 to cal1 user2 it works without problems.
After solving this I think I will be ready to switch to davical. Thanks for all the work.
I found another problem regarding a php count warning. I will open another issue for that.
Thanks for fixing in advance.
Kind regards.