Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Internal links in Rich Workspace README.md break after target file rename (persistent across browsers, fixed only by renaming back)

オープン
#8,555 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
58/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
javascript
領域
frontend

調査の方向性

まず、Rich Workspace の README.md プレビューから内部リンクがどのように解決されるかを、Text エディターおよびファイル一覧での既存の動作と比較し、再現手順に記載されたクリック経路に従ってください。target.md から target-new.md への名前変更を再現し、フォルダービューを再読み込みした後も含め、プレビューのリンクが fileId によって名前変更後のファイルを引き続き開くことを確認してください。

索引モデルが issue の本文から書いたものです。

説明

bug feature: folder description

Describe the bug
When a Rich Workspace README.md contains an internal link to a file in the same folder, clicking the link from the rendered preview at the top of the folder view fails with "Datei existiert nicht mehr" / "File does not exist anymore" after the linked file has been renamed.
The link only breaks in this specific click path. The same link works correctly when:

The README.md is opened in the Text editor and the link is clicked from there
The file is opened via its icon in the file list

This indicates the Rich Workspace renderer resolves internal links by stored path/filename rather than by fileId, while the editor and file list use fileId-based resolution.

To Reproduce
Steps to reproduce the behavior:

  1. In a folder, create README.md with Rich Workspace and add an internal link to another file in the same folder (e.g. target.md)
  2. Verify the link works when clicked from the Rich Workspace preview
  3. Rename target.md to target-new.md
  4. Reload the folder view (or open in another browser)
  5. Click the link in the Rich Workspace preview → "Datei existiert nicht mehr"
  6. Click the link from inside the Text editor (open README.md) → works correctly
  7. Rename the file back to target.md → link in Rich Workspace works again

Expected behavior
Internal links should resolve by fileId and continue to work across renames, consistent with how internal links behave when clicked from inside the Text editor or via the file icon.

Server details:

  • Nextcloud version: 33.0.3
  • PHP Version: 8.3
  • Database: MariaDB 11.4.10

Client details:
Tested on several OSs and browsers

Nextcloud log (data/nextcloud.log)

No errors logged.

主要言語
JavaScript
スター
665
フォーク
133
平均マージ
1日 17時間
マージ済み PR(30日)
172

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nextcloud/text のほかの issue

nextcloud/text の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。