Skip to content
Snippets Groups Projects
Commit b525531d authored by Oliver Klee's avatar Oliver Klee Committed by Christian Kuhn
Browse files

[BUGFIX] Do not try to parse null/empty flexforms in ReferenceIndex

This fixes an issue in the acceptance tests where `null` is passed
to `GeneralUtility::xml2array()` (which expects a `string`).

Having an early check for an empty string also avoids
pointless XML parsing (which should help performance a bit).

Resolves: #101757
Releases: main, 12.4, 11.5
Change-Id: Ifc4406536c273baca9acdda7a0af7a91594f57bf
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/80680


Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 02f54459
No related merge requests found
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