nextcloud / nextcloud/text

"Failed to load file" when opening existing .md file

Open
#5,101 3 comments 0 reactions 0 assignees View on GitHub

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:

  1. Open Files
  2. Navigate to sub directories
  3. Click on a .md file
  4. See error

Expected behavior

File opens

Screenshots

Bildschirmfoto vom 2023-12-07 15-14-48

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

Bildschirmfoto vom 2023-12-07 15-15-07
Bildschirmfoto vom 2023-12-07 15-15-21

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.