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: Fix "Unknown path" error when source user files folder has not been initialized #46124

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Pytal
Copy link
Member

@Pytal Pytal commented Jun 25, 2024

Summary

Calling transfer() with a source user who has not yet logged in will throw an "Unknown path" error. To fix this we initialize the source user filesystem like we do with the destination user.

Checklist

@Pytal Pytal added bug 3. to review Waiting for reviews labels Jun 25, 2024
@Pytal Pytal added this to the Nextcloud 30 milestone Jun 25, 2024
@Pytal Pytal self-assigned this Jun 25, 2024
@Pytal Pytal enabled auto-merge June 25, 2024 23:30
Copy link
Member

@juliushaertl juliushaertl left a comment

Choose a reason for hiding this comment

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

Small nitpick, but looks good otherwise 👍

@Pytal Pytal disabled auto-merge June 26, 2024 22:04
@Pytal Pytal force-pushed the fix/ownership-transfer-source-user-files branch from 9492c94 to 92432a2 Compare June 27, 2024 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants