-
-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
…m another storage Signed-off-by: Julius Härtl <jus@bitgrid.net>
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
|
@@ -612,6 +612,7 @@ public function copyFromStorage(IStorage $sourceStorage, $sourceInternalPath, $t | |||
$dh = $sourceStorage->opendir($sourceInternalPath); | ||||
$result = $this->mkdir($targetInternalPath); | ||||
if (is_resource($dh)) { | ||||
$result = true; | ||||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
juliusknorr
Author
Member
|
$trashStorage->getUpdater()->renameFromStorage($sourceStorage, $sourceInternalPath, $trashInternalPath); |
Therefore the mkdir fail is expected since the node is already in place. I need to debug this a bit more with different setups without primary object storage to see how this behaves.
Maybe @icewind1991 has an idea how to solve that anyways 😉
this seems very weird in common...
shouldn't mkdir then just return true on S3?