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

[Bug]: Copy/ Move files to a nested favorite folder returns 404 error #42363

Closed
5 of 8 tasks
major-mayer opened this issue Dec 19, 2023 · 4 comments · Fixed by nextcloud-libraries/nextcloud-dialogs#1165
Closed
5 of 8 tasks

Comments

@major-mayer
Copy link

⚠️ This issue respects the following points: ⚠️

Bug description

When you try to move or copy a file to a favorite folder that is itself a subfolder of another folder, the folder cannot be found, because the path is incorrectly calculated.
The file picker stays at this screen:
grafik

The server returns the following:

<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
  <s:exception>Sabre\DAV\Exception\NotFound</s:exception>
  <s:message>File with name /[here is the parent path missing]/Sonstiges could not be located</s:message>
</d:error>

Steps to reproduce

  1. Create a subfolder
  2. Add it to favorites
  3. Click on the "move/ copy to" button for some file
  4. Click on "Favorites"
  5. Click on the newly added subfolder
  6. Loading never finishes

Expected behavior

The subfolder can be found and opens

Installation method

Community Docker image

Nextcloud Server version

27

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.2

Web server

Other

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

Web server is Caddy

@major-mayer major-mayer added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Dec 19, 2023
@joshtrichards
Copy link
Member

I cannot reproduce this behavior. It succeeds for me.

I wonder if whatever is triggering this in your environment is similar to #42469.

What are the underlying folders? Anything like groupfolders, External Storage, sharing, etc. involved?

What are the underlying filesystem(s)?

@major-mayer
Copy link
Author

major-mayer commented Jan 2, 2024

IIRC I just used a normal folder for my test, but maybe it was also shared with some other people.
The problem is, that I cannot check it again currently, because my host system is down right now.
But in general, the underlying file system should be ext4 i guess (standard Ubuntu installation), but the Nextcloud data is within an NFS share to a ZFS (True)NAS system.

Edit: I'm not sure, but I think the issue that you linked is a different one, since I am using an older version of Nextcloud and in general I have no problems with copying/ moving files/ folders in general, as long as it's not a nested favorite folder.
When my system is back and running, I will update to a newer Nextcloud version and report if it's still an issue there.

@susnux
Copy link
Contributor

susnux commented Jan 10, 2024

I can reproduce this and will work on a fix.

@major-mayer
Copy link
Author

Thanks for the fix ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment