Commit eb72b0a
[BUGFIX] Properly initialize backend user for requests
Default requests won't have a workspace id.
That will lead to TYPO3 defaults -99 id.
That in turn will lead to being in preview mode once a backend user is
provided within context.
We therefore cover the default and turn it into live workspace which
could be the expected default.
Also we add missing initialization for backend user.
Resolves: #5351 parent 32cc772 commit eb72b0a
1 file changed
Lines changed: 5 additions & 5 deletions
File tree
- Resources/Core/Functional/Extensions/json_response/Classes/Middleware
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
0 commit comments