Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#8,555 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
58/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
javascript
Lĩnh vực
frontend

Hướng nghiên cứu

Bắt đầu bằng cách so sánh cách các liên kết nội bộ được phân giải từ bản xem trước README.md của Rich Workspace với hành vi hiện có trong trình soạn thảo văn bản và danh sách tệp, theo đường dẫn nhấp được mô tả trong các bước tái hiện. Tái hiện việc đổi tên từ target.md thành target-new.md và xác minh rằng liên kết trong bản xem trước vẫn mở tệp đã đổi tên bằng fileId, kể cả sau khi tải lại chế độ xem thư mục.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
JavaScript
Star
665
Fork
133
Merge trung bình
1 ngày 17 giờ
Pull request đã merge (30 ngày)
172

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của nextcloud/text

Tất cả issue của nextcloud/text

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.