Block Editor asset picker generates inode-based /dA/{inode} video links without a filename/extension
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 58/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- java, typescript
Hướng nghiên cứu
Start at the Block Editor asset picker’s link generation and trace how it gets the asset identifier, filename, and extension; the issue does not name a file or test. Check the generated URLs for video, image, and file assets, then verify inserted videos play behind a CDN or proxy and legacy links still work.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem Statement
The Block Editor's new asset picker saves selected videos as /dA/{inode} — the ID of a single version, with no filename or extension. Uploads and pre-2026 inserts instead produce /dA/{identifier}/asset/{file}.ext.
Extension-less, version-pinned asset URLs can break downstream CDN/proxy caching of HTTP range requests, causing video playback to fail for site visitors. They also pin the reference to a specific version rather than the content identifier.
- Front-end issue (asset-picker link generation in the Block Editor).
- Workaround: asset links in the
/dA/{identifier}/asset/{file}.extform play correctly.
Steps to Reproduce
- In a Block Editor field, add a video using the asset picker.
- Inspect the generated link/markup for the inserted video.
- Observe the URL is
/dA/{inode}(a version ID, with no filename/extension) instead of/dA/{identifier}/asset/{file}.ext. - When the content is served behind a CDN/proxy that caches based on the URL/extension, video playback fails for subsequent visitors.
(Reported in the internal dotCMS Slack thread; link omitted.)
Acceptance Criteria
- The Block Editor asset picker generates identifier-based asset URLs in the form
/dA/{identifier}/asset/{file}.ext, including filename and extension, consistent with uploads and pre-2026 inserts. - Video assets inserted via the asset picker reference the content identifier, not a single version's inode.
- Videos inserted via the asset picker play correctly, including when served behind a CDN/proxy that caches by URL.
- Behavior is consistent across asset types (video, image, file) inserted via the picker.
- Existing/legacy asset links continue to work unchanged.
dotCMS Version
Latest from main branch.
Severity
High - Major functionality broken (published videos do not play for site visitors).
Links
- Internal dotCMS Slack thread (link omitted).
- Freshdesk ticket: NA.
- Ngôn ngữ chính
- Java
- Star
- 972
- Fork
- 493
- Merge trung bình
- 2 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 228
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- 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 dotCMS/core
-
dotCMS : UVE OKR : Customer Support Team : Maintenance Type : Defect
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 2 ngày
-
OKR : Customer Support Team : Maintenance Type : Defect
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Opening content from Content Search replaces the "Search" breadcrumb in the new Edit Content screenĐang mởdotCMS: New Edit Contentlet OKR : Customer Support Team : Falcon Type : Defect
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Escape the Binary field hint in the legacy content editor so an apostrophe doesn't break the fieldĐang mởOKR : Customer Support Team : Maintenance Type : Defect
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
Maintainer thường phản hồi trong vòng 2 ngày
-
dotCMS : Permissions OKR : Customer Support Team : Maintenance Type : Defect
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 2 ngày
Issue tương tự
-
desktop grp:about type:graphics-bug ui-public
Độ khó 1/5 Dưới một 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
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 2 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
it-at-m/Wahllokalsystem#3846 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Area/Connector module/solace Priority/Low Type/Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
ballerina-platform/ballerina-library#9849 ·
Maintainer thường phản hồi trong vòng 1 ngày