Open Piedone opened 1 month ago
In Fluid there is MaxSteps and MaxRecursion to limit the execution of templates.
We triaged this issue and set the milestone according to the priority we think is appropriate (see the docs on how we triage and prioritize issues).
This indicates when the core team may start working on it. However, if you'd like to contribute, we'd warmly welcome you to do that anytime. See our guide on contributions here.
Describe the bug
You can create an infinite recursion if you pick the parent item itself in a Content Picker Field.
To Reproduce
Steps to reproduce the behavior:
ContentPicker
shape only lists the display texts of the picked items. However, if you have an override thatDisplayAsync()
s the picked items, see below, you can produce an infinite loop, crashing the process.Latest
main
(8e3c8180dbe3d8eca792767e7e68f87fc89982ea).Expected behavior
This is clearly a misconfiguration that can't produce much sensible, but still, the app shouldn't crash. So, e.g.:
Screenshots
-