Actions
Bug #95497
closedGIFBUILDER: TEXT.text lost stdWrap datatype
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2021-10-06
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:
Description
The text
property of GIFBUILDERs TEXT object had been of datatype "->stdWrap".
Now, using everything except a simple string ends up in output "text".
Example 1: simple text¶
page > page = PAGE page { 10 = IMAGE 10 { file = GIFBUILDER file { format = jpg quality = 88 XY = 300,50 backColor = #fc8123 20 = TEXT 20 { offset = 10,22 fontColor = #ffffff fontFile = EXT:website/Resources/Public/Fonts/vera.ttf text = TYPO } } } }
Output:
Example 2: text with wrap¶
page > page = PAGE page { 10 = IMAGE 10 { file = GIFBUILDER file { format = jpg quality = 88 XY = 300,50 backColor = #fc8123 20 = TEXT 20 { offset = 10,22 fontColor = #ffffff fontFile = EXT:website/Resources/Public/Fonts/vera.ttf text = TYPO text.wrap = |3 } } } }
Output:
Example 3: text overridden by cObject¶
page > page = PAGE page { 10 = IMAGE 10 { file = GIFBUILDER file { format = jpg quality = 88 XY = 300,50 backColor = #fc8123 20 = TEXT 20 { offset = 10,22 fontColor = #ffffff fontFile = EXT:website/Resources/Public/Fonts/vera.ttf text = EXAMPLE text.override.cObject = TEXT text.override.cObject { value = TYPO wrap = |3 } } } } }
Output:
Files
Updated by Georg Ringer about 3 years ago
- Status changed from New to Accepted
- Is Regression set to Yes
Updated by Georg Ringer about 3 years ago
- Related to Task #91834: Use stdWrapValue where possible part 2 added
Updated by Gerrit Code Review about 3 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/71497
Updated by Georg Ringer about 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 8a210a68c568ed683ad96209a6e8904dae4a80fd.
Actions