[BUGFIX] Correctly deprecate globals usage in FormEngine
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / master / Deprecation-84530-DefaultValuesFromGlobalsDeprecatedInFormEngine.rst
1 .. include:: ../../Includes.txt
2
3 ==========================================================================
4 Deprecation: #84530 - Default values from globals deprecated in FormEngine
5 ==========================================================================
6
7 See :issue:`84530`
8
9 Description
10 ===========
11
12 Setting default values for new database records from GET/POST `defVals` parameter
13 has been deprecated in 9.2 and will be removed in version 10.
14
15
16 Impact
17 ======
18
19 If not already provided within the new configuration setting `$result['defaultValues']`, the
20 default values are applied from GET/POST `defVals` configuration, but will trigger a
21 deprecation warning.
22
23
24 Affected Installations
25 ======================
26
27 Installations that use the FormEngine within extensions might need to be changed.
28
29
30 Migration
31 =========
32
33 Use the `defaultValues` configuration to set default values for new database rows
34 in the \TYPO3\CMS\Backend\Form\FormDataCompiler::compile call.
35
36 .. index:: Backend, PHP-API, NotScanned