-
-
Notifications
You must be signed in to change notification settings - Fork 223
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
TASK: #4396 prefer renderingMode::isEdit over node::isLive #4733
TASK: #4396 prefer renderingMode::isEdit over node::isLive #4733
Conversation
Great idea, thanks! The chnge would result in rendered stuff in the frontend rendering as well, you might not have noticed this as it is dependent on the Frontendlogin package. If it's installed it prevents the backend user access from being available in the frontend rendering, but without it, this should trigger if your backend user last had selected an edit mode in the backend. And that is not a desireable side effect. |
Hmm you mean |
Yep nvm all good, this is prevented by the hardcoded renderingMode set via NodeController::showAction() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess fine then
73fb745
to
faa72c7
Compare
@mhsdesign It seems this changes breaks rendering of the 404 Not Found page in Neos Demo (Neos.Demo:Document.NotFoundPage) Exception:
Is this a Neos or Neos.Demo issue? |
nope puuuhh i was not aware of that thanks ;) |
Resolves partially #4396
Resolves: #2347
This refactors the
isBackend
checks in php land to use the definedrenderingMode
in fusion. Currently the content element wrapping service would otherwise check if the workspace is live and otherwise assume we are in the backend which is wrong. This would cause the content element wrapping to be needlessly rendered in the preview mode (this causes also issues like neos/neos-ui#3144)Upgrade instructions
Review instructions
Checklist
FEATURE|TASK|BUGFIX
!!!
and have upgrade-instructions