Review 14.3 Merged

94769[BUGFIX] Hide EXT:workspaces preview for non-previewable records

Garvin Hicking CR +2 V +2 Easy +2 −2 updated 07/13/26, 17:12

Commit message

The publish view of records shows both records and pages.

This means also records for `sys_file_metadata` are shown,
and a preview link points to a frontend URI that would resolve
to PID=0 (where sys_file_metadata lives), and have a follow-up
exception thrown because no valid link can be resolved for
that site.

Generally, it is hard to deduce the proper frontend URI
to be shown for filemetadata records (and most records).

The QR Code module already gates this via the `data.previewUrl`
variable, which indicates if a frontend page URI can be
properly generated or not.

Now the preview icon itself also makes use of this variable
for gating the `View` icon.

Review

  • Code review CR +2 Done
    • Garvin Hicking +2
  • Verified V +2 Done
    • Garvin Hicking +2
    • core-ci +1 CI

Issues 1

Files 2

Review log 34

  1. Garvin Hicking commented on patch set 1 07/13/26, 16:44

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 07/13/26, 16:52 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/104722

  3. Garvin Hicking voted on patch set 1 CR +2 V +2 07/13/26, 17:12

  4. Garvin Hicking merged patch set 2 07/13/26, 17:12