Breaking: #70132 - FormEngine custom functions
See forge#70132
Description
Due to the refactoring of the backend FormEngine code the "low end" extension API to manipulate data has
changed. Affected are especially the type=user
TCA
element, any user
configured in
TCA
as well as the items
to manipulate single items in select, group and other types.
In general data given to those custom functions has changed and extensions that rely on this data may
fail. For instance, if a items
was defined for a field within a flex form, the row
array argument contained the full parent database row in the past. This is no longer the case and
the parent database row is now transferred as flex
. In other cases data previously
handed over to custom functions may no longer be available at all.
Impact
Custom functions receive less or different options than before and may stop working.
Affected Installations
Extensions using the TCA
with type=user
fields, extensions using TCA
with user
and
extensions using items
.
Migration
Developers using this API have to debug the data given to custom functions and adapt accordingly.
If the data given is not sufficient it is possible to register own element classes with the
Node
or to manipulate data by adding a custom Form
. While the current
API will be mostly stable throughout further TYPO3 CMS 7 LTS patch releases, it may however happen
that the given API and data breaks again with the development of the TYPO3 CMS 8 path to make the
FormEngine code more powerful and reliable in the end.