CFDUMP in HTML Emails

147 views
Skip to first unread message

W. Williams

unread,
Jun 20, 2017, 3:15:08 PM6/20/17
to Lucee
When using cftry / cfcatch we will sometimes send the error to a dev to look into it automatically.  We just recently updated to Lucee 5.2.1.9 (On linux).  Since then, it appears that cfdump uses javascript to build the display (I think this is new).  Is there a way to change it back to the previous layout?  Within Outlook, all that shows is a blank page.

Hope this makes sense and thanks in advance!

Don Quist

unread,
Jun 21, 2017, 10:03:31 AM6/21/17
to Lucee
You might have ran into this bug: https://luceeserver.atlassian.net/browse/LDEV-1317
There are a few options you can do:
1) Change the format of cfdump via <cfdump var="#var#" format="text" />
2) Disable JSON Preserve case
3) Upgrade Lucee (I'm not sure if 5.2.2.18+ is still a snapshot or in stable channel yet)

Julian Halliwell

unread,
Jun 21, 2017, 10:19:40 AM6/21/17
to lu...@googlegroups.com
If text is too plain, you can get the HTML without any JS by using

<cfdump var="#var#" format="simple">

This is my preferred format in most cases.
Reply all
Reply to author
Forward
0 new messages