Project

General

Profile

Actions

Bug #96417

open

previewRendererResolver override does not fully work

Added by Henrik Elsner over 2 years ago. Updated almost 2 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2021-12-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Currently the "previewRendererResolver" does not fully work.
In `\TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumnItem? both functions `getPreview` and `getFooterInfo` call the original and seem not to resolve the one set as mentioned by the docs.
Instead the `StandardPreviewRendererResolver` is called

https://docs.typo3.org/m/typo3/reference-coreapi/10.4/en-us/ApiOverview/ContentElements/CustomBackendPreview.html#overriding-the-previewrendererresolver

Actions #1

Updated by Jonathan Kieling almost 2 years ago

Hi there,

I can confirm this for 10.4.28. I'm using a workaround by replacing the resolver with a custom implementation via symfony DI in my own Services.yaml.

services:
  TYPO3\CMS\Backend\Preview\StandardPreviewRendererResolver:
    class: \YOUR_NAMESPACE\YOUR_IMPLEMENTING_CLASS
    public: true
Actions

Also available in: Atom PDF