Ext.NET icon indicating copy to clipboard operation
Ext.NET copied to clipboard

Infinite loop in token matching if property references itself

Open fabriciomurta opened this issue 8 years ago • 0 comments

Ext.NET does not nicely handle a token reference loop like:

<ext:Label ID="Label1" runat="server" Text="Contents here. :) [#{Label1.Text}]" />

Notice the label's Text property contain a token referencing itself. Ext.NET should nicely support handling cyclic referencing (for example, not trying to expand again the token, or using the replaced token instead -- or at least displaying a better descriptive error message.

The server error message raised is: Insufficient stack to continue executing the program safely. This can happen from having too many functions on the call stack or function on the stack using too much stack space.

fabriciomurta avatar May 18 '17 05:05 fabriciomurta