X Tutup
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apps/files_sharing/lib/Updater.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ private static function moveShareToShare($path) {

$shares = $shareManager->getSharesBy($userFolder->getOwner()->getUID(), \OCP\Share::SHARE_TYPE_USER, $src, false, -1);
$shares = \array_merge($shares, $shareManager->getSharesBy($userFolder->getOwner()->getUID(), \OCP\Share::SHARE_TYPE_GROUP, $src, false, -1));
$shares = \array_merge($shares, $shareManager->getSharesBy($userFolder->getOwner()->getUID(), \OCP\Share::SHARE_TYPE_LINK, $src, false, -1));

// If the path we move is not a share we don't care
if (empty($shares)) {
Expand Down
6 changes: 6 additions & 0 deletions changelog/unreleased/40612
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Bugfix: Fix share into share move scenario

Public links were lost upon moving share into another share as the share owner was not correctly set. This has been now partially fixed.

https://github.com/owncloud/core/pull/40612
https://github.com/owncloud/enterprise/issues/5565
X Tutup