Block Editor asset picker generates inode-based /dA/{inode} video links without a filename/extension

Đang mở
#38,502 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 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
Lĩnh vực
frontend, web-dev

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ả

OKR : Customer Support Team : Scout Triage Type : Defect

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}.ext form play correctly.

Steps to Reproduce

  1. In a Block Editor field, add a video using the asset picker.
  2. Inspect the generated link/markup for the inserted video.
  3. Observe the URL is /dA/{inode} (a version ID, with no filename/extension) instead of /dA/{identifier}/asset/{file}.ext.
  4. 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

Mở trong Codespaces

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.

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 dotCMS/core

Tất cả issue của dotCMS/core

Issue tương tự

Thêm issue về Java

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.