-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Copy link
Labels
Description
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
Bug description
The DAV MOVE command specifies a destination/target ID for the new object in the header.
:method: MOVE
:scheme: https
:path: /remote.php/dav/calendars/user1/personal/A4B956AB-70E1-4C37-BA82-7057FDB86357.ics
:authority: 192.168.254.41
accept: */*
destination: https://192.168.254.41/remote.php/dav/calendars/user1/personal-2/9D8C6604-80E2-45D9-B1B8-05595DA363F3.ics
But the OCA\DAV\CalDAV\Calendar.php::moveInto() function ignores the target ID when moving the object causing errors when the client software confirms that the object has been created.
server/apps/dav/lib/CalDAV/Calendar.php
Line 396 in 402f512
| return $this->caldavBackend->moveCalendarObject($sourceNode->getCalendarId(), (int)$this->calendarInfo['id'], $sourceNode->getId(), $sourceNode->getOwner(), $this->getOwner()); |
Move Command:
Propfind Command on new object:
Steps to reproduce
- Create a calendar entry using external client (iPhone)
- Move event from one Calendar to Another
Expected behavior
Move command should create object with designated id
Nextcloud Server version
master
Operating system
None
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
- Default user-backend (database)
- LDAP/ Active Directory
- SSO - SAML
- Other
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response

