Bug #101351
closedBackend page title for the edit record view displays HTML instead of filename
0%
Description
The setup¶
If have custom Extbase records for downloads which reference each a single file and allow to set a translatable download title. If the download title isn't set, the frontend fallbacks to the file name of the referenced file.
This is a slice from the editor mask in the backend:
The same behaviour is defined for the backend via TCA:
return [
'ctrl' => [
// ...
'label' => 'title',
'label_alt' => 'file',
// ...
],
// ...
];
For the list of the download records in the backend, this behaviour works as expected and the filename is used as fallback:
The problem¶
In the record edit view the form title contains HTML:
The expection¶
I would expect the same behaviour like in the table view. So the title should read:
Edit Download "Einkaufsbedingungen.pdf" on page "Download"
What to know¶
- The edit record title is rendered by public/typo3/sysext/backend/Classes/Form/Container/OuterWrapContainer.php
- The markup of the unwanted record title is generated by public/typo3/sysext/core/Classes/Resource/Service/UserFileInlineLabelService.php
I'm not sure which place is the right place for fixing this. I hope someone has a better view on this.
Files
Updated by Torben Hansen 10 months ago
I analyzed the problem and it is reproducible in TYPO3 11.5 only. Main and v12 does not render the shown HTML nor the filename.
Updated by Tobias Liebig 9 months ago
I'm also not able to reproduce this issue in 13.0.0-dev
Updated by Riccardo De Contardi 23 days ago
- Status changed from New to Closed
Sorry but I close this issue as it seems it affects only v.11 (which is in "Priority bugfix mode")
If you think that this is the wrong decision or experience the issue on more recent TYPO3 versions like 12 or 13 please open a new issue with a reference to this one.
Thank you and best regards