Links don't work as well. We now only get internal links like '/link/80d184b441ce448aa6a4895a69e22a6a.aspx?id=166&epslanguage=nl'.
Seems something is broken for routing I guess?
The issue with the links seems to be resolved. After publishing a single page suddenly 'automagically' all links started to work again i.e. friendly links are generated.
The issue with RenderAction/Action remains.
It seems it's only an issue when RenderAction is called from within a block that is rendered from within a ContentArea....
Did you ever resolve this issue? I am running into this on an EPiServer 11 project.
I'm having the same error for 11.22.0.0 version. Did anyone find a solution?
The solution from this https://world.episerver.com/forum/developer-forum/-Episerver-75-CMS/Thread-Container/2016/3/calling-a-child-action-from-block-view-episerver-82/ topic worked for me - just add
controllerType=""
So your code will look like:
@{Html.RenderAction("Index", "ShareMessage", new {controllerType = ""});}
Hi,
We've just upgraded an EPiServer CMS 7 site to the latest version in the '7' branch (7.19).
We're experiencing issues with 'RenderAction' calls in our views which call into actions from ordinary 'Controllers'.
Such a call looks like
What happens is that the 'Index' action on the current controller/context is called.
This results in a loop and eventually in a StackOverflowException.
It worked prior to the update.
I've tried a lot of possible routing configurations but with no success.
Any ideas are welcome.
Thanks!
Regards,
Robert.