Skip to content

Errors while getting node properties #7351

@gaudryc

Description

@gaudryc

Describe the bug
When editing a text file anywhere other than the root user files folder in Nextcloud 30 and 31, there are PROPFIND requests with HTTP 404 error.
The text application (4.1.0 and 5.0.0) tries to get the node properties ignoring the actual path to the text file, as you can see in the browser logs.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Files
  2. Navigate in any subfolder
  3. Edit or create a new Text file
  4. See browser console log

Server details:

  • Nextcloud version: 30.0.12 / 31.0.6
  • PHP Version: 8.3.21
  • Database: PostgreSQL
  • Test version: 4.1.0 / 5.0.0

Client details:

  • OS: Windows
  • Browser: Firefox
  • Browser version: 128
  • Device: desktop
Logs

Nextcloud log (data/nextcloud.log)

Insert your Nextcloud log here

Browser log

File info for /Documents/NP/Nouveau fichier texte.md fetched 
	Object { filename: "/Documents/NP/Nouveau fichier texte.md", basename: "Nouveau fichier texte.md", lastmod: "Fri, 20 Jun 2025 13:14:54 GMT", size: 66, type: "file", etag: "685a9eb2e827c", mime: "text/markdown", tags: "", getcontentlength: 66, getcontenttype: "text/markdown", … }
	Viewer.vue:639
XHRPROPFIND
	https://XXXXXXXXXXXXXXX:2443/remote.php/dav/files/userXXXXXXX/Nouveau fichier texte.md
	[HTTP/1.1 404 Not Found 92ms]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions