Uh oh!
There was an error while loading. Please reload this page.
Use parent wrapper to properly handle moves on the same source/target storage - #26980
Conversation
… storage Signed-off-by: Julius Härtl <jus@bitgrid.net>
juliusknorr
commented
May 14, 2021
/backport to stable21 |
juliusknorr
commented
May 14, 2021
/backport to stable20 |
mowtee
commented
May 17, 2021
Tested it and fixed our issue. Thank you so much! |
jknockaert
commented
May 18, 2021
Would it be possible to add a test to avoid this type of issues? |
ornanovitch
commented
May 18, 2021
will this be included in 21.0.2 or shall we patch manually until a later version? |
MorrisJobke
commented
May 18, 2021
21.0.2 will definitely not have it, because it will be released on Thursday and the merge window for that version is already closed. Maybe we backport this to 21.0.3. @juliushaertl Opinions on the backport? |
MorrisJobke
commented
May 18, 2021
Ah .. it already is scheduled for a backport |
MorrisJobke
commented
May 18, 2021
/backport to stable21 |
MorrisJobke
commented
May 18, 2021
/backport to stable20 |
The backport to stable21 failed. Please do this backport manually. |
The backport to stable20 failed. Please do this backport manually. |
The backport to stable21 failed. Please do this backport manually. |
The backport to stable20 failed. Please do this backport manually. |
juliusknorr
commented
May 18, 2021
nextclouduser74
commented
May 31, 2021
Am not a developer just admin and I tried this fix, and it seems to work, BUT:
The failure is the same. Path is /mnt/data/shared_subfolder instead of /mnt/data/__groupfolders/number/shared_subfolder. Copying/Moving INTO the share works now, moving something out of the share doesn't work. The only way is to copy the file/folder to the destination and then delete it. |
Steps to reproduce:
Moving the part file to the final one failed after #25568 as the general wrapper logic to use a rename instead of a moveFromStorage from
server/lib/private/Files/Storage/Wrapper/Wrapper.php
Lines 573 to 577 in 3e69ed8
Fixesnextcloud/groupfolders#1453
Fixesnextcloud/groupfolders#1445