Bug Report
Prerequisites
Description
When adding a PDF file to tx_bootstrappackage_tab_item's media field the link field is not showing up so it's impossible to add a link an PDF file.
The issue seems to be in Configuration/TCA/tx_bootstrappackage_tab_item.php, ['columns']['media']['overrideChildTca'] only checking for types \TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE and \TYPO3\CMS\Core\Resource\File::FILETYPE_VIDEO.
Adding
\TYPO3\CMS\Core\Resource\File::FILETYPE_APPLICATION => [
'showitem' => '
--palette--;;extendedBasicOverlayPalette,
--palette--;;filePalette',
],
fixed the issue for me. Consider adding \TYPO3\CMS\Core\Resource\File::FILETYPE_TEXT or \TYPO3\CMS\Core\Resource\File::FILETYPE_UNKNOWN so these can be linked too.
Steps to Reproduce
- Create a
Tab content element.
- Add a new tab item.
- Add a PDF file to the
media field.
Expected behavior
link field showing.
Actual behavior
No link field showing.
Screenshots
Versions
15.0.4
Bug Report
Prerequisites
to see if your bug or enhancement is already reported?
Description
When adding a PDF file to
tx_bootstrappackage_tab_item's media field thelinkfield is not showing up so it's impossible to add a link an PDF file.The issue seems to be in
Configuration/TCA/tx_bootstrappackage_tab_item.php, ['columns']['media']['overrideChildTca'] only checking for types\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGEand\TYPO3\CMS\Core\Resource\File::FILETYPE_VIDEO.Adding
fixed the issue for me. Consider adding
\TYPO3\CMS\Core\Resource\File::FILETYPE_TEXTor\TYPO3\CMS\Core\Resource\File::FILETYPE_UNKNOWNso these can be linked too.Steps to Reproduce
Tabcontent element.mediafield.Expected behavior
linkfield showing.Actual behavior
No
linkfield showing.Screenshots
Versions
15.0.4