Skip to content
Snippets Groups Projects
Commit a646ee81 authored by Christian Kuhn's avatar Christian Kuhn Committed by Stefan Bürk
Browse files

[BUGFIX] Avoid GU::trimExplode('', null) in BU::getProcessedValue()

GeneralUtility::trimExplode() needs a string since #101453
as second argument. TCA type=folder DB values can be null,
which can be triggered for instance by bootstrap_package
in BackendUtility::getProcessedValue().
Cast the value before feeding it to GU::trimExplode().

Resolves: #102172
Related: #101453
Releases: main, 12.4
Change-Id: I3a742d592efe28324d07b0c941185601cfc14891
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81429


Reviewed-by: default avatarSimon Schaufelberger <simonschaufi+typo3@gmail.com>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Tested-by: default avatarSimon Schaufelberger <simonschaufi+typo3@gmail.com>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
parent acc2cbf0
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment