Title:
Exceptions in REST Services doesn't trigger Application.cfc's onError or Site-wide Error Handler
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Johnny O / Johnny O (Johnny O)
Created: 02/26/2013
Components: REST Services
Versions: 10.0
Failure Type: Non Functioning
Found In Build/Fixed In Build: Final / CF10_Update14
Priority/Frequency: Critical / All users will encounter
Locale/System: English / Win 2008 Server R2 64 bit
Vote Count: 6
Problem Description:
When exceptions occur in ColdFusion 10's new REST Services, the standard exception handling mechanisms don't work.
Steps to Reproduce:
Throw an excaption in CF 10's REST end point.
Actual Result:
Application.cfc's onError and Site-wide Error Handler don't get triggered.
Expected Result:
Application.cfc's onError gets called.
Any Workarounds:
Only time wasting painful workarounds. Some solutions proposed here, but not ideal:
http://stackoverflow.com/q/15015308/188740
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3506757
Deployment Phase: Release Candidate
External Customer Info:
External Company:
External Customer Name: JohnnyO5
External Customer Email:
External Test Config: My Hardware and Environment details:
Windows 2008 / Windows 7
ColdFusion 10
Attachments:
Comments: