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 ocis move #1343

Merged
merged 1 commit into from
Nov 30, 2020
Merged

fix ocis move #1343

merged 1 commit into from
Nov 30, 2020

Conversation

butonic
Copy link
Contributor

@butonic butonic commented Nov 27, 2020

Use the old node id to build the target path for xattr updates.

#1343
owncloud/ocis#975

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Copy link
Member

@kulmann kulmann left a comment

Choose a reason for hiding this comment

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

Awesome, this indeed fixes owncloud/ocis#975
Code looks good and I ran it locally with ocis to confirm. Creating folders a and b, then moving b into a the parentid in the extended attributes of b is correct after the move (see screenshot) and I can now upload files into /a/b again. 🚀 💪

Screenshot 2020-11-28 at 06 34 16

Copy link
Member

@refs refs left a comment

Choose a reason for hiding this comment

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

Thank you for getting to the root of it, we (@kulmann and I) were close tho ^^

@labkode labkode merged commit ac85e68 into cs3org:master Nov 30, 2020
@butonic butonic deleted the fix-ocis-move branch November 30, 2020 06:52
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.

4 participants