Review 13.4 Merged

89925[BUGFIX] Allow to use default TCEMAIN.preview settings in workspace preview URLs

Oli Bartsch CR +2 V +2 Normal +27 −33 updated 06/26/25, 19:31

Commit message

When workspaces is used, one can use the TSconfig
setting

options.workspaces.previewPageId.tx_mytable = field:pid

which overrules the default option

TCEMAIN.preview.tx_mytable.previewPageId = 123

which is OK.

However, the previous code did not evaluate further
TCEMAIN.preview settings such as "fieldToParameterMap"
at all, as the if condition was set wrongly.

In addition, these settings now apply for tt_content as
well.

See https://docs.typo3.org/c/typo3/cms-workspaces/main/en-us/Administration/Configuration/Index.html#pagetsconfig-options-workspaces-previewpageid

Review

  • Code review CR +2 Done
    • Oli Bartsch +2
  • Verified V +2 Done
    • Oli Bartsch +2
    • core-ci +1 CI

Issues 1

Files 1

Review log 34

  1. Oli Bartsch commented on patch set 1 06/26/25, 19:18

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 06/26/25, 19:28 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/81017

  3. Oli Bartsch voted on patch set 1 CR +2 V +2 06/26/25, 19:31

  4. Oli Bartsch merged patch set 2 06/26/25, 19:31