Bug #70546
closedSuggest wizard not working for pages with long titles
100%
Description
The suggest wizard does not work for records with to long strings.
The label used for the suggest list is created of the records label defined in the TCA ($GLOBALS['TCA'][$table]['ctrl']['label']).
In the TYPO3\CMS\Backend\Form\Wizard\SuggestWizardDefaultReceiver in the queryTable() function the label is being used to create the array for JS to use.
The label is being taken from TYPO3\CMS\Backend\Utility\BackendUtility::getRecordTitle(). This function crops the title if exceeding a specific length and adds a span around the cropped title.
This causes the output to break and the record not being saved when selected
Files
Updated by Thomas Schlumberger about 9 years ago
- File patch.diff patch.diff added
Here is a possible solution, that does not break anything else.
A new parameter is added to TYPO3\CMS\Backend\Utility\BackendUtility::getRecordTitle() and TYPO3\CMS\Backend\Utility\BackendUtility::getRecordTitlePrep().
Updated by Thomas Schlumberger about 9 years ago
- Assignee changed from Thomas Schlumberger to Benni Mack
Updated by Mathias Schreiber about 9 years ago
- Assignee changed from Benni Mack to Benjamin Kott
- Sprint Focus set to Stabilization Sprint
Updated by Christian Kuhn about 9 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
I'm pretty sure this is a duplicate of #69211 and was just resolved with the patch merged for that.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed