Repository navigation
Removed special handling of part files in shared storage rename - #6687
Conversation
This fixes the issue introduced by the transfer id which itself wasn't taken into account by the shortcut code for part file in the shared storage class.
|
great fix 👍 |
|
Thanks. Will try tomorrow! |
|
Thanks. It works for me. |
|
Test passed. |
|
Well I guess I can at least now reference the issues I went through, but def should have probably looked at PR before going through all the open issues and troubleshooting ... oh well :) Was bittersweet to find the fix just sitting there waiting in a PR! This fix worked for me and hopefully should for others having the same type of problems! |
|
@tripflex thanks for the linking and the feedback. |
|
👍 |
|
@PVince81 just installed the latest build (from today) and tested it, i still see this behaviour (like described in issue #331), i.e. uploading a new file on a shared folder, e.g. a pdf file (also < 10mb file size), results in several .pdf.oc.TransferID12345789 files. in the owncloud.log i get {"app":"OC\Files\Cache\Scanner","message":"!!! Path 'test/test.pdf' is not readable !!!","level":0,"time":"2014-01-09T13:50:58+00:00"} |
|
@tustudium this PR/patch hasn't been merged yet, so it's not present in the build. Will merge it now as the review is complete. |
Removed special handling of part files in shared storage rename
|
Backported to stable6 as a711d4e |
|
@PVince81 thanks for the info! |
|
Hi. I replaced modified sharedstorage.php and files.php, restarted apache, but I still get an error. Is there anything else I should do? Thx |
|
@dali-dbr I guess it should work that way. Are you sure it's the same error ? |
|
hm, actually it works if I use new folders and new filenames. I'm guessing some data was left in database or on server not allowing the same filenames or same folders to be overwritten. For an example. If I create "newfolder" and upload "newfile.rar" inside its ok. If I create folder "test" and upload "test.rar" is not ok. (both already existed before) I hope it help in any way. |
|
@dali-dbr with upload do you mean with the sync client ? |
|
I was referring to the same files that was troubled before the fix. Even if were deleted, there was problems uploading same file names and the problems persisted even after the fix. Today I'm trying to reproduce the problem, but all it seems to be working OK, so never mind now. Thank you for your help. |
This fixes the issue introduced by the transfer id which itself wasn't
taken into account by the shortcut code for part file in the shared
storage class.
Fixes #6608
Please review @DeepDiver1975 @karlitschek @icewind1991 @schiesbn