Skip to content

Commit 37feaa6

Browse files
committed
COLDBOX-1360 #resolve
Bootstrap was not returning false or true on the right location for onRequestStart
1 parent 5425f05 commit 37feaa6

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

system/Bootstrap.cfc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,9 +504,13 @@ component serializable="false" accessors="true" {
504504
// If the file is "index.(cfm|bxm)" then we will process it
505505
if ( reFindNoCase( "index\.(cfm|bxm)", listLast( arguments.targetPage, "/" ) ) ) {
506506
processColdBoxRequest();
507+
return false;
508+
} else {
509+
// Just load the module mappings in case we are in a module request or a web socket request.
510+
application[ locateAppKey() ].getModuleService().loadMappings();
511+
return true;
507512
}
508513

509-
return true;
510514
}
511515

512516
/**

0 commit comments

Comments
 (0)