Bug #95717
closedDanger highlight of inconsistant translation records missing
100%
Description
TYPO3 10.4.21
Way to reproduce:
- translate a page with contents
- translate the contents with "translate"
- edit one translated content and set the l18n_parent to "0"
- now a warning is displayed and an indicator shows "mixed mode"
-> but the record itself is not highlighted (as it was in TYPO3 9)
Background:
- the class responsible for the red highlight is "t3-page-ce-danger"
- in TYPO3 9 the class was calculated in typo3/sysext/backend/Classes/View/PageLayoutView.php:1038
- this code is still present in V10 (line:443) BUT its not used for generating the html anymore (at least in this context) - instead the html is build in the fluid template typo3/sysext/backend/Resources/Private/Partials/PageLayout/Record.html and the classname is calculated in typo3/sysext/backend/Classes/View/BackendLayout/Grid/GridColumnItem.php->getWrapperClassName():84 -> there the logic never outputs the class "t3-page-ce-danger"