Status/Resolution/Reason: Closed/Fixed/Fixed
Reporter/Name(from Bugbase): Aaron Neff / ()
Created: 05/21/2018
Components: REST Services
Versions: 2016
Failure Type: Incorrectly functioning
Found In Build/Fixed In Build: 2018.0.01.308605 (PreRelease) / 309761
Priority/Frequency: Normal / Some users will encounter
Locale/System: / Windows 10 64 bit
Vote Count: 1
Issue: CF2016 vs Aether wrt custom REST response via cfthrow
History: Pre-Aether, cfthrow could be used to send a custom REST response as JSON. In Aether, this fails (returns HTML of error handler page).
Steps to Reproduce:
1) Unzip attached app
2) Run index.cfm to register the REST application
3) Run mypage.cfm and compare the output w/ the code comments in mypage.cfm
Actual Result: CF sends cfthrow's custom message as HTML of error handler page
Expected Result: CF sends cfthrow's custom message as JSON
Related URL: https://www.adobe.com/devnet/coldfusion/articles/restful-web-services.html
Related post: http://blog.cfaether.com/2018/05/cf2016-vs-aether-wrt-custom-rest.html
Attachments:
Comments: