Actions
Bug #22563
closedtceforms: Title of a record does not use API call to limit the characters
Start date:
2010-05-01
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.4
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
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
Actions