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

Fix OS storage move propagation #729

Merged
merged 2 commits into from
May 11, 2020
Merged

Fix OS storage move propagation #729

merged 2 commits into from
May 11, 2020

Conversation

PVince81
Copy link
Contributor

@PVince81 PVince81 commented May 8, 2020

Propagating on the source path failed because the source path does not exist any more after moving. This fix makes it start the propagation on the parent of the source.

I've also fixed the error handling because while debugging this it caused memory pointer errors as the errors were not propagated to the outside.

@butonic

Fixed the propagate function in OC storage was not properly catching errors.
@PVince81 PVince81 requested a review from labkode as a code owner May 8, 2020 09:54
@PVince81
Copy link
Contributor Author

PVince81 commented May 8, 2020

=> this makes the litmus webdav move tests pass!

@labkode
Copy link
Member

labkode commented May 8, 2020

@PVince81 just lint and is good to merge

Propagating on the source path failed because the source path does not
exist any more after moving. This fix makes it start the propagation on
the parent of the source.
@PVince81
Copy link
Contributor Author

PVince81 commented May 8, 2020

I've removed the stray debug code and fixed the linter errors by properly returning the error objects.

@PVince81
Copy link
Contributor Author

all green, please merge :-)

@labkode labkode merged commit fa446d4 into cs3org:master May 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants