Bug #25368
closedcrop and cropHTML doesn't crop if "maxCharacters" is equal or lower than first word
100%
Description
Like described in ticket for format.crop viewhelper for fluid (http://forge.typo3.org/issues/11583), the crop and cropHTML method in class.tslib_content.php, doesn't crop if maxCharacters is equal or lower than the stringlength of first word.
Please see some examples in original ticket.
Thanks!
Armin
(issue imported from #M18003)
Files
Updated by Peter Beernink over 13 years ago
Pending in Gerrit:
https://review.typo3.org/#change,1274
How to test:
Add a cropHTML to a TEXT object, and crop before the end of the first word.
Before the change, the whole value is returned, instead of the cropped version.
Example TS to test:
page = PAGE
page.typeNum = 0
page.10 = TEXT
page.10.value=Example text
page.10.cropHTML=6|...|1
Updated by Mr. Hudson over 13 years ago
Patch set 3 of change I0a7ec720b12a7999245b183f36daff5cdd7a8ace has been pushed to the review server.
It is available at http://review.typo3.org/1274
Updated by Mr. Hudson over 13 years ago
Patch set 1 of change I96446430bd0681e9f64c699bca9f80866a712490 has been pushed to the review server.
It is available at http://review.typo3.org/1955
Updated by Peter Beernink over 13 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset 133a9be324048cf04af940f12b15fc3af21fed26.
Updated by Steffen Gebert about 13 years ago
- Category set to TypoScript
- Target version changed from 0 to 4.5.4
- TYPO3 Version set to 4.5
Updated by Riccardo De Contardi almost 7 years ago
- Status changed from Resolved to Closed