Project

General

Profile

Actions

Bug #95497

closed

GIFBUILDER: TEXT.text lost stdWrap datatype

Added by Julian Hofmann about 3 years ago. Updated about 2 years ago.

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


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #91834: Use stdWrapValue where possible part 2Closed2020-07-21

Actions
Actions #1

Updated by Georg Ringer about 3 years ago

  • Status changed from New to Accepted
  • Is Regression set to Yes
Actions #2

Updated by Georg Ringer about 3 years ago

  • Related to Task #91834: Use stdWrapValue where possible part 2 added
Actions #3

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

Actions #4

Updated by Georg Ringer about 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack about 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF