Skip to content

go trough the updater when uploading over webdav - #18030

Merged
PVince81 merged 1 commit into
masterfrom
dav-upload-updater
Aug 6, 2015
Merged

PVince81 merged 1 commit into
masterfrom
dav-upload-updater

Conversation

@icewind1991

Copy link
Copy Markdown
Contributor

@scrutinizer-notifier

Copy link
Copy Markdown

A new inspection was created.

@MorrisJobke MorrisJobke added this to the 8.1.2-next-maintenance milestone Aug 3, 2015
@karlitschek

Copy link
Copy Markdown
Contributor

nice catch 👍

@PVince81

PVince81 commented Aug 3, 2015

Copy link
Copy Markdown
Contributor

Thanks. Can you add a unit test for this ?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The comment above should probably go from L210 to L212. By the way, what's the different between the local $view and $this->fileView ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

$view is the view for the user used for hooks, $this->fileView is the view exposed for the dav endpoint

@PVince81

PVince81 commented Aug 3, 2015

Copy link
Copy Markdown
Contributor

This files:scan was the entry point of another issue @schiesbn and I investigated last Friday: #17594

I retested this case with this PR and the encrypted file is still uploaded properly, so it seems to work.

@icewind1991 did you think of possible side effects and can confirm that the change from scan() to update() will not have any ?

@ghost

ghost commented Aug 3, 2015

Copy link
Copy Markdown

🚀 Test PASSed.🚀
chuck

@icewind1991

Copy link
Copy Markdown
Contributor Author

did you think of possible side effects and can confirm that the change from scan() to update() will not have any ?

I dont think there will be any negative side effects

@PVince81

PVince81 commented Aug 6, 2015

Copy link
Copy Markdown
Contributor

Tested, works 👍

@PVince81 PVince81 modified the milestones: 8.2-current, 8.1.2-next-maintenance Aug 6, 2015
PVince81 pushed a commit that referenced this pull request Aug 6, 2015
go trough the updater when uploading over webdav
@PVince81
PVince81 merged commit 6c13967 into master Aug 6, 2015
@PVince81
PVince81 deleted the dav-upload-updater branch August 6, 2015 13:28
@PVince81

PVince81 commented Aug 6, 2015

Copy link
Copy Markdown
Contributor

Backport this for 8.1.2 ? @karlitschek

@karlitschek

Copy link
Copy Markdown
Contributor

please backport 👍

@icewind1991

Copy link
Copy Markdown
Contributor Author

8.1: #18108

@lock lock Bot locked as resolved and limited conversation to collaborators Aug 11, 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.

Folder size propagation not triggered by Webdav upload

6 participants