Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Surface Controller - Umbraco Context
On Umbraco V8 when getting the Umbraco Context it gives back the context from where we submitted the form.
But on Umbraco 9 gives back the current surface context. But shouldn't we need the context from where we submitted the form?
Current Usage:
View:
My surface controller implementation:
SurfaceController class base implementation:
Oh. Looks like this helper needs to be used to get the UmbracoContext correctly.
I saw the usage here: https://github.com/umbraco/Umbraco-CMS/pull/9762#issuecomment-773308193
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Umbraco 9 - SurfaceController Current Context
Surface Controller - Umbraco Context
On Umbraco V8 when getting the Umbraco Context it gives back the context from where we submitted the form.
But on Umbraco 9 gives back the current surface context. But shouldn't we need the context from where we submitted the form?
Current Usage:
View:
My surface controller implementation:
SurfaceController class base implementation:
Oh. Looks like this helper needs to be used to get the UmbracoContext correctly.
I saw the usage here: https://github.com/umbraco/Umbraco-CMS/pull/9762#issuecomment-773308193
is working on a reply...