"Failed to load file" when opening existing .md file
Open
Nobody has claimed this yet.
bug
- Dominant language
- JavaScript
- Stars
- 659
- Forks
- 133
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 110
Description
Describe the bug
I was just unable to open a file. It worked after a page reload.
To Reproduce
Steps to reproduce the behavior:
- Open Files
- Navigate to sub directories
- Click on a .md file
- See error
Expected behavior
File opens
Screenshots
Server details:
- Nextcloud version: 28.0.0 RC2
- PHP Version: [e.g. 8.2]
- Database: [e.g. MariaDB 10.6]
Client details:
- OS: [e.g. Windows/macOS/Ubuntu]
- Browser: [e.g. Firefox, Chrome]
- Browser version: [e.g. 22]
- Device: [e.g. iPhone6, desktop]
Logs
Nextcloud log (data/nextcloud.log)
Insert your Nextcloud log here
Browser log
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue from Files: navigate into subdirectories and open an existing .md file, then compare the behavior after a page reload. Inspect the browser error shown in the attached screenshots and trace the file-opening flow; done means existing .md files open without the failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100