Internal links in Rich Workspace README.md break after target file rename (persistent across browsers, fixed only by renaming back)
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ả
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:
- 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)
- Verify the link works when clicked from the Rich Workspace preview
- Rename target.md to target-new.md
- Reload the folder view (or open in another browser)
- Click the link in the Rich Workspace preview → "Datei existiert nicht mehr"
- Click the link from inside the Text editor (open README.md) → works correctly
- 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
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của nextcloud/text
-
0. Needs triage bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
nextcloud/text#9482 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
0. Needs triage bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
folder description not shows when using folder tree to navigateCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mởbug feature: folder description
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
1. to develop design call discuss discussion ux
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 58/100
nextcloud/text#9334 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của nextcloud/text
Issue tương tự
-
[Bug] Dashboard renders attachment links that resolve to 404 when the FILES binding is absentĐang mởbug 優先: 低
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
admission-deferred priority: medium status: ready work-class: scoped
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
melodic-software/claude-code-plugins#10887 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 91/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Channel access dropdown: "Private" option is not translated into Japanese in Zulip Server 12Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 2 ngày