Defining UDF as COLDBOX_FAIL_FAST no longer returns false

Description

A change introduced in 5.2.0 changes the handling of COLDBOX_FAIL_FAST when a UDF is defined.

In coldbox\system\Bootstrap.cfc, onRequestStart() used to have a

1 return false

at the end of the

1 if( application.fwReinit )

block. 5.2.0 moved that return false up to the Core Fail Fast Option section.

What this means to us is that since we defined a UDF to customize the message, it will show that message and then show whatever it was attempting to which makes it invalid in our case. Our UDF is the same as the Core option just with a customized message.

I think the return false needs to go back where it was. When I made that change locally, things operated as expected again.

Status

Assignee

Luis Majano

Reporter

Timothy Lux

Labels

None

Fix versions

Affects versions

5.2.0

Priority

Major