Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use cross storage move when renaming the part file during webdav put #16159

Merged
merged 1 commit into from
May 8, 2015

Conversation

icewind1991
Copy link
Contributor

@nickvergessen
Copy link
Contributor

Confirmed, fixes the bin/smash lib/oc-tests/test_shareFile.py test.

Thanks! 👍

@nickvergessen nickvergessen added this to the 8.1-current milestone May 7, 2015
@nickvergessen
Copy link
Contributor

Also verified that no other test has been broken: ✅
But also none of the other broken tests got fixed: 😞

Testing with encryption enabled still fails (but is unrelated to this change)

@ghost
Copy link

ghost commented May 7, 2015

Refer to this link for build results (access rights to CI server needed):
https://ci.owncloud.org//job/pull-request-analyser-ng-simple/12228/
🚀 Test PASSed.🚀
chuck

@MorrisJobke
Copy link
Contributor

Tested, verified and works 👍

MorrisJobke added a commit that referenced this pull request May 8, 2015
use cross storage move when renaming the part file during webdav put
@MorrisJobke MorrisJobke merged commit 8e565dd into master May 8, 2015
@MorrisJobke MorrisJobke deleted the webdav-cross-storage-miove branch May 8, 2015 07:53
@@ -162,11 +164,11 @@ public function put($data) {
if ($needsPartFile) {
// rename to correct path
try {
$renameOkay = $storage->rename($internalPartPath, $internalPath);
$renameOkay = $storage->moveFromStorage($partStorage, $internalPartPath, $internalPath);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, clever 😄

mmattel pushed a commit to mmattel/core that referenced this pull request May 22, 2015
…miove

use cross storage move when renaming the part file during webdav put
@lock lock bot locked as resolved and limited conversation to collaborators Aug 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WebDAV PUT on file share fails with 500
4 participants