#22563tceforms: Title of a record does not use API call to limit the characters
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)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.