Bug #8646
CropProcessor should respect pre/suffix string in calculation of maximum characters
Status: | Closed | Start date: | 2010-07-04 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | Karsten Dambekalns | % Done: | 0% |
|
Category: | _old | |||
Target version: | - |
Description
Right now the Crop TypoScript processor adds the configured pre/suffix string to the cropped string resulting in a string that exceeds the maximumCharacter setting. Instead it should subtract the length of the pre/suffix string from maximumCharacters as it happens in the v4 crop function
Related issues
History
#1 Updated by Bastian Waidelich about 4 years ago
- Assigned To deleted (
Bastian Waidelich)
#2 Updated by Stefan Neufeind about 4 years ago
Is it subtracted anywhere in v4? Had a look at t3lib/class.t3lib_cs.php (crop) and typo3/sysext/cms/tslib/class.tslib_content.php (crop) which don't take that length into account. The latter is what is used by the fluid-cropviewhelper for v4.
#3 Updated by Sebastian Kurfuerst over 3 years ago
- Project changed from TYPO3.Neos to TYPO3.TypoScript
- Category deleted (
TypoScript)
#4 Updated by Sebastian Kurfuerst about 3 years ago
- Category set to _old
#5 Updated by Karsten Dambekalns about 3 years ago
- Assigned To set to Karsten Dambekalns
#6 Updated by Karsten Dambekalns about 3 years ago
- Status changed from New to Closed