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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.