Uh oh!
There was an error while loading. Please reload this page.
fix: Do not fail to get internal path on NonExistingFile - #47581
Conversation
nickvergessen
commented
Aug 28, 2024
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) |
nickvergessen
commented
Aug 29, 2024
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
6110888Comparejuliusknorr
commented
Aug 29, 2024
Reads are not affected as the file already exists then, but added the same for folder creation on NonExistingFolder |
juliusknorr
commented
Aug 29, 2024
/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.
juliusknorr
commented
Aug 30, 2024
/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/stable30Error: 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. |
skjnldsv
commented
Aug 30, 2024
/backport to stable30 |
1 similar comment
skjnldsv
commented
Aug 30, 2024
/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