#111705Long file names overflow the file info block when editing file metadata
Description
When editing a file’s metadata (sys_file_metadata, or sys_file) in the backend, the read-only file info block at the top of the “General” tab shows the file name, size, type and storage path. If the file name contains no spaces neither the bold file name nor the storage path wraps. Both run past the form container, and the layout breaks, especially in the modal editor.
Steps to reproduce:
- Upload a file with a long name that contains no spaces (underscores only) to fileadmin.
- Open the file’s metadata in the Filelist module (Edit metadata).
- Look at the file info block at the top of the “General” tab.
Expected: the file name and path wrap inside the form container.
Actual: the file name and path run past the container.
Cause / proposed fix: \TYPO3\CMS\Backend\Form\Element\FileInfoElement renders the information as bare inline markup with no wrapping rule. Wrapping it in an element with the existing text-break utility class fixes the layout.
Reviews 1
History 01
-
Gerrit Code Review pushed patch set 1 for main to change 98279 status
NewUnder Review 12/02/26, 10:26