Project

General

Profile

Actions

Bug #22563

closed

tceforms: Title of a record does not use API call to limit the characters

Added by Benni Mack over 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
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

tceforms.patch (1.07 KB) tceforms.patch Administrator Admin, 2010-05-01 22:57
TCEforms.png (11.2 KB) TCEforms.png Administrator Admin, 2010-05-01 23:09
Actions #1

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).

Actions #2

Updated by Susanne Moog over 13 years ago

  • Target version deleted (4.4.0)
Actions

Also available in: Atom PDF