-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUGFIX] Do not end up in workspace and preview for default requests #536
base: main
Are you sure you want to change the base?
Conversation
Should this only go into the |
I'm fine with both. I personally need this in one project where we apply this as a patch. |
Resources/Core/Functional/Extensions/json_response/Classes/Middleware/BackendUserHandler.php
Outdated
Show resolved
Hide resolved
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: TYPO3#535
If I run full core functional testsuite (with your original change and also my adoption) i get 4 failures:
so I guess we need more investigation there first. Will have a more detailed look later. |
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.
Resolves: #535