Bug #22563
closedtceforms: Title of a record does not use API call to limit the characters
0%
Description
If you set the max title length in the user setup to "10" or to "100", the title of the record in alt_doc.php / tceforms does not respect that but uses hardcoded length of the record title of 40. This is extremely unhandy if you have longer record titles.
Solution: Use the API method for this use. Nice side-effect: Also makes the code easier to read.
How to reproduce:
- Module "User setup" => "Startup" => "Max title length" 10
- Web module => Edit any page properties with a title longer than 10 characters
- the title (see the screenshot) will stay at 40 pixels
- apply the patch, and now you'll see that it respects the User configuration
(issue imported from #M14276)
Files
Updated by Benni Mack over 14 years ago
committed to trunk (rev. 7513).
committed to TYPO3_4-3 (rev. 7514).
committed to TYPO3_4-2 (rev. 7515).