TYPO3 v15 dev-main snapshot ()

This commit is contained in:
2026-08-10 22:31:09 +02:00
commit af8cc155b5
6818 changed files with 642608 additions and 0 deletions
@@ -0,0 +1,43 @@
.. include:: /Includes.rst.txt
.. _breaking-102151-1697111006:
================================================================
Breaking: #102151 - XML prologue always added in flexArray2Xml()
================================================================
See :issue:`102151`
Description
===========
The second argument :php:`$addPrologue = false` on
:php:`\TYPO3\CMS\Core\Configuration\FlexForm\FlexFormTools->flexArray2Xml()`
has been dropped: When imploding a FlexForm array to an XML string using
this method, the "XML prologue" is always added.
Impact
======
This should have no impact for consumers of this method. The counterpart method
:php:`\TYPO3\CMS\Core\Utility\GeneralUtility::xml2array()` happily deals with this.
Affected installations
======================
Instances with extensions using :php:`FlexFormTools->flexArray2Xml()` can drop
the second argument. The extension scanner will find usages with a weak match.
Since this is a detail method of the TYPO3 Core FlexForm handling, not often
handled by extensions themselves, few instances will be affected in the first place.
Migration
=========
No data migration needed, PHP consumers should drop the second argument
when calling the method.
.. index:: FlexForm, PHP-API, FullyScanned, ext:core