Commit 32c3376
committed
[TASK] Remove further TSFE properties
The patch continues removing properties from
TypoScriptFrontendController.
We however keep one particular API:
TypoScript stdWrap .data (Data / getText) implemented in
ContentObjectRenderer->getData() knows "TSFE" and allows
accessing various properties, partially using a recursive
array key mechanism.
This area is part of "good old" TypoScript functionality,
breaking this could easily become a nightmare for integrators
when upgrading to TYPO3 v14: This stdWrap feature is rather
hard to understand, is often buried deep in TS setup, is not
trivial to test and hard to debug.
A compat layer has been established in v13 for other details
like ".data = TSFE : fe_user" already, the patch extends this
to especially keep support for ".data = TSFE : id" (and some
others) for the time being.
Resolves: #107527
Related: #105230
Related: #102621
Releases: main
Change-Id: I497474a1a8447b4416af11c48c34042adcd19464
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/90777
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Benni Mack <benni@typo3.org>
Reviewed-by: Stefan Bürk <stefan@buerk.tech>
Tested-by: core-ci <typo3@b13.com>
Tested-by: Benni Mack <benni@typo3.org>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Stefan Bürk <stefan@buerk.tech>1 parent e1871a1 commit 32c3376
File tree
3 files changed
+15
-38
lines changed- typo3/sysext/frontend/Classes
- ContentObject
- Controller
- Middleware
3 files changed
+15
-38
lines changedLines changed: 14 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3868 | 3868 | | |
3869 | 3869 | | |
3870 | 3870 | | |
3871 | | - | |
3872 | 3871 | | |
3873 | 3872 | | |
3874 | 3873 | | |
| |||
3883 | 3882 | | |
3884 | 3883 | | |
3885 | 3884 | | |
3886 | | - | |
3887 | | - | |
| 3885 | + | |
| 3886 | + | |
| 3887 | + | |
| 3888 | + | |
| 3889 | + | |
| 3890 | + | |
| 3891 | + | |
| 3892 | + | |
| 3893 | + | |
| 3894 | + | |
| 3895 | + | |
| 3896 | + | |
| 3897 | + | |
| 3898 | + | |
3888 | 3899 | | |
3889 | 3900 | | |
3890 | 3901 | | |
| |||
Lines changed: 1 addition & 30 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
59 | 58 | | |
60 | 59 | | |
61 | 60 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | 61 | | |
90 | 62 | | |
91 | 63 | | |
| |||
241 | 213 | | |
242 | 214 | | |
243 | 215 | | |
244 | | - | |
245 | 216 | | |
246 | 217 | | |
247 | 218 | | |
| |||
316 | 287 | | |
317 | 288 | | |
318 | 289 | | |
319 | | - | |
| 290 | + | |
320 | 291 | | |
321 | 292 | | |
322 | 293 | | |
| |||
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | 109 | | |
115 | 110 | | |
116 | 111 | | |
| |||
0 commit comments