Issue Bug Closed

#70546Suggest wizard not working for pages with long titles

Thomas Schlumberger 10/09/15, 17:02 updated 10/21/17, 17:43

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

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.