File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
- /**
1
+ /**
2
2
* Copyright since 2016 by Ortus Solutions, Corp
3
3
* www.ortussolutions.com
4
4
* ---
@@ -227,9 +227,12 @@ component accessors="true" extends="coldbox.system.Interceptor" {
227
227
required currentEvent
228
228
){
229
229
// Get handler bean for the current event
230
- var handlerBean = variables .handlerService .getHandlerBean ( arguments .event .getCurrentEvent () );
230
+ var handlerBean = variables .handlerService .getHandlerBean ( arguments .event .getCurrentEvent () );
231
231
232
- if ( isInvalidEventHandlerBean ( handlerBean ) ) {
232
+ if (
233
+ listGetAt ( controller .getColdboxSettings ().version , 1 , " ." ) == 5 &&
234
+ isInvalidEventHandlerBean ( handlerBean )
235
+ ) {
233
236
// ColdBox tries to detect invalid event handler loops by keeping
234
237
// track of the last invalid event to fire. If that invalid event
235
238
// fires twice, it throws a hard exception to prevent infinite loops.
You can’t perform that action at this time.
0 commit comments