[!!!][TASK] Remove ExtDirect State Provider
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / master / Breaking-79227-RemovedExtDirectStateProvider.rst
1 .. include:: ../../Includes.txt
2
3 ===================================================
4 Breaking: #79227 - Removed ExtDirect State Provider
5 ===================================================
6
7 See :issue:`79227`
8
9 Description
10 ===========
11
12 The ExtDirect based State Provider for ExtJS applications (endpoint `TYPO3.ExtDirectStateProvider.ExtDirect`) has been removed.
13
14 The ExtDirect endpoint `TYPO3.ExtDirectStateProvider.ExtDirect` is no longer available.
15
16 The following PHP classes have been removed:
17 * `\TYPO3\CMS\Backend\InterfaceState\ExtDirect\DataProvider`
18 * `\TYPO3\CMS\Backend\Tree\AbstractTreeStateProvider`
19 * `\TYPO3\CMS\Backend\Tree\AbstractExtJsTree`
20
21 The relevant JavaScript file `ExtDirect.StateProvider.js` has been removed.
22
23 The PHP method php:`DocumentTemplate->setExtDirectStateProvider()` to load the JavaScript file has been removed.
24
25 Instead the jQuery-based AMD module `TYPO3\CMS\Backend\Storage` is incorporated to load the data the same way via an anonymous
26 State Provider which is handed to ExtJS as long as ExtJS is still available in the TYPO3 Core.
27
28
29 Impact
30 ======
31
32 Accessing the ExtDirect endpoint will result in a JavaScript error. Loading the JavaScript file will result in a HTTP 404 error.
33
34 Instantiating the PHP class will result in a fatal PHP error.
35
36
37 Affected Installations
38 ======================
39
40 Any installation using custom implementations with ExtDirect and the State Provider shipped with the TYPO3 Core.
41
42
43 Migration
44 =========
45
46 Include the `TYPO3\CMS\Backend\Storage`, and use the UserSettingsController class directly on the PHP side to
47 access the user settings.
48
49 See the implementation of the JavaScript Storage object for a more detailed usage.
50
51 .. index:: JavaScript