I have a suspicion that Block inside a Block produces System.StackOverflowException. It happens only while developing on localhost, but not on a production when uploaded to server.
I have a Content Area on a Page-1 where I create a Block-1 -> which has a Content Area where I create a different block (Block-2).
That same Block-2 when used in Content Area on any other page works.
However that Block-2 if not nested inside Block-1, and used on the same Page-1 still fires StackOverflowException.
What are your thoughts on this? I don't know how to debug this.
In a Page which has ContentArea property or Block which has ContentArea property? I can't recall doing that, but all is possible. You think it can be an issue?
- May 01, 2020 12:45
I am not sure on that but it might be. And have you tried adding new ContentArea property on blocks and then give it a try?
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
Hi all,
I have a suspicion that Block inside a Block produces System.StackOverflowException. It happens only while developing on localhost, but not on a production when uploaded to server.
I have a Content Area on a Page-1 where I create a Block-1 -> which has a Content Area where I create a different block (Block-2).
That same Block-2 when used in Content Area on any other page works.
However that Block-2 if not nested inside Block-1, and used on the same Page-1 still fires StackOverflowException.
What are your thoughts on this? I don't know how to debug this.