-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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: Do not fail to get internal path on NonExistingFile #47581
Conversation
Just for the record, if you did this because you see it on our instance, the stable30 backport was merged after the last RC |
I noticed on our instance but it was still an issue on master, the previous fixes only tackled (edit: I'm not sure why I didn't catch this when testing the earlier PR i did) |
NonExistingFolder needs the same fix? and did you also try "read" operation paths from admin_audit |
…older Signed-off-by: Julius Härtl <jus@bitgrid.net>
5eea99d
to
6110888
Compare
Reads are not affected as the file already exists then, but added the same for folder creation on NonExistingFolder |
/backport to stable30 |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
/backport to stable30 |
The backport to # Switch to the target branch and update it
git checkout stable30
git pull origin stable30
# Create the new backport branch
git checkout -b backport/47581/stable30
# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick 61108882
# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/47581/stable30 Error: Failed to clone repository: Failed to checkout branches: error: Your local changes to the following files would be overwritten by checkout: Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports. |
/backport to stable30 |
1 similar comment
/backport to stable30 |
Follow up to:
Summary
If we cannot get the internal path from the file info (e.g. when creating a new file), but we can obtain it from the parent node through the mountpoint.
Fixes errors log spam when creating a new file and having admin_audit enabled when being called in
server/apps/admin_audit/lib/Actions/Files.php
Line 166 in af6de04