Bug #87363

GIFBUILDER TEXT crashes in TYPO3 v. 9.5.3

Added by Claus Harup 9 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Image Generation / GIFBUILDER
Target version:
Start date:
2019-01-08
Due date:
% Done:

100%

TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Having the typoscript below in TYPO3 v. 8.7.22 gives me what I want - a red box with white text in the middle....

20 = IMAGE
20{
    file = GIFBUILDER
    file{
        XY = 400,400
        backColor = #FF0000

        10 = BOX
        10{
            dimensions = 0,0,400,400
            color = #FF0000
        }

        20 = TEXT
        20{
            text = Testing...
            fontColor = #FFFFFF
            fontSize = 40
            niceText = 1
            align = center
            offset = 0,200
        }
    }
}

.... - having the exact same typoscript in TYPO3v. 9.5.3 gives me:

Argument 1 passed to TYPO3\CMS\Frontend\Resource\FilePathSanitizer::sanitize() must be of the type string, null given, called in /var/www/typo3_source/typo3_src-9.5.3/typo3/sysext/frontend/Classes/Imaging/GifBuilder.php on line 686

Associated revisions

Revision 7af55b8d (diff)
Added by Tom Novotny 8 months ago

[BUGFIX] Check for unset font if text is set in GIFBUILDER

You can set a text without defining a font file to be used, explicitly.

Resolves: #87363
Releases: master, 9.5
Change-Id: I5cbb447da29cf49ad23f621261044edea12ccb7f
Reviewed-on: https://review.typo3.org/59418
Reviewed-by: Anja Leichsenring <>
Tested-by: Anja Leichsenring <>
Tested-by: TYPO3com <>
Reviewed-by: Benni Mack <>
Tested-by: Benni Mack <>

Revision 58c65b5d (diff)
Added by Tom Novotny 8 months ago

[BUGFIX] Check for unset font if text is set in GIFBUILDER

You can set a text without defining a font file to be used, explicitly.

Resolves: #87363
Releases: master, 9.5
Change-Id: I5cbb447da29cf49ad23f621261044edea12ccb7f
Reviewed-on: https://review.typo3.org/59423
Tested-by: TYPO3com <>
Reviewed-by: Benni Mack <>
Tested-by: Benni Mack <>

History

#1 Updated by Gerrit Code Review 8 months ago

  • Status changed from New 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/59418

#2 Updated by Gerrit Code Review 8 months ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59418

#3 Updated by Gerrit Code Review 8 months ago

Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59423

#4 Updated by Anonymous 8 months ago

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

#5 Updated by Benni Mack 5 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF