CFAbort Still Firing onError

So, at MAX I spoke about how cflocation and cfabort could fire the onError method in your Application.cfc error. I could have sworn this was all fixed up in 7.0.1, however, I'm seeing it fire again when I use code like so in my onRequestStart:

<cfif findNoCase("/admin/", arguments.thePage)>

<cfif not isAuthenticated()> <cfinclude template="/#application.mapping#/wwwroot/admin/login.cfm"> <cfabort> </cfif>

</cfif>

Now, obviously I can use the same hacks as before, but it looks like I need to file a new bug report.

Archived Comments

Comment 1 by Ryan posted on 11/3/2005 at 9:11 AM

I'm pretty sure that Dean confirmed this bug with me also. I have an existing bug opened that Dean has examined. See if you can pull it up and vote for it. Let me know if you want me to hunt down my notes and bug #.

Comment 2 by Oliver Merk posted on 11/3/2005 at 5:33 PM

In some cases you can use CFEXIT to achive the same result without the error being logged (at least in 7.0;)

Comment 3 by vishy posted on 11/3/2005 at 8:09 PM

Jedi Master -

Please helpe me out. I am struck with a problem of creating event-beans in mach-ii framework. my form contains a cfloop which creates duplicate form fields and if any error popsout then how to validate and show the error with line and field highlighted to the user? Your expert advice is appreciated.

Need a quick resolution for a project...help please.

Comment 4 by Raymond Camden posted on 11/3/2005 at 8:11 PM

Sorry, I don't use MachII. Have you tried the MachII listserv?

Comment 5 by Critter posted on 11/5/2005 at 12:50 AM

in the "hacks" article you have this:

extends="test.Application">

what is Test ?

Comment 6 by Raymond Camden posted on 11/5/2005 at 1:26 AM

Test was the root folder.

Comment 7 by Critter posted on 11/5/2005 at 1:28 AM

doh! gotcha. thanks