OrchardCore: Liquid Template: Exception of type 'System.StackOverflowException' was thrown.
Liquid Templates throws ‘System.StackOverflowException’ and application crashes.
{{ Model | shape_render }}
should not be allowed within liquid template and should not be saved.
As OC shape that defines above syntax tries to call itself.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 17 (17 by maintainers)
Thing is, you might want to run
{{ Model | shape_render }}after modifying the shape metadata (shape morphing) Maybe we should have a MaxStackDepth setting somewhere that could detect this and at least not crash the application?