Ticket #262 (closed enhancement: fixed)
Add ability to detect infinite loop in modelglue.xml event handlers
| Reported by: | perezd | Owned by: | DanWilson |
|---|---|---|---|
| Priority: | low | Milestone: | 3.1 Maintenance Beta |
| Version: | 3.0.178 | Severity: | minor |
| Keywords: | Cc: |
Description
Do you think it would be possible to implement some sort of mechanism that could detect if an event is commiting an infinite loop?
see the following situation:
<event-handler name="foo"> <results> <result do="bar" /> </results> </event-handler>
<event-handler name="bar"> <results> <result do="foo" /> </results> </event-handler>
I know this is a really stupid move, and I didn't personally do this, but I did something that was close (bit more complex in my defense :P). Would be a neat feature if you could have it catch that...currently you'll get a CFLOOP error about taking too long, and my proc goes to 100% for quite a while.
![(please configure the [header_logo] section in trac.ini)](/ModelGlue.com/trac.cgi/chrome/site/your_project_logo.png)