tracker issue : CF-4166924

select a category, or use search below
(searches all categories and all time range)
Title:

CFDUMP is missing CSS / JS code and makes cfdump output difficult or impossible to read

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): e-domizil License Team / e-domizil License Team (Alexander Hass)

Created: 06/22/2016

Components: Debugging

Versions: 2016

Failure Type:

Found In Build/Fixed In Build: CF2016_Update1 /

Priority/Frequency: Major / All users will encounter

Locale/System: ALL / Win 2012 Server x64

Vote Count: 3

Listed in the version 2016.0.03.300466 Issues Fixed doc
Problem Description: We send a mail with the result of a CFDUMP as mail message body. After sending the mail we use another CFDUMP in the same file (see attached index.cfm)

Steps to Reproduce:

1. Change the mailadress in the CFMAIL Tag in the index.cfm (optional)
2. Run attached repro case

{code:java}
<cfprocessingdirective pageencoding="utf-8" />
<cfoutput>
	<cfset local.yourEmail = "me@example.com" />
	<cfmail from="#local.yourEmail#" to="#local.yourEmail#" subject="Test Mail" type="html">
		<cfdump var="#url#" />
	</cfmail>
	<cfdump var="#url#" />
</cfoutput>
{code}


3. Now the second cfdump (on the page) is no longer styled.


Actual Result: The style/functionality of the second CFDUMP is broken (CSS & Javascript are missing)

Expected Result:

Any Workarounds:

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4166924

External Customer Info:
External Company:  
External Customer Name: Firstname Lastname
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

Comments:

I thought it was just me +1
Vote by External U.
2331 | June 22, 2016 09:51:47 AM GMT
The fix would be available in the upcoming ColdFusion update. Thanks!
Comment by S P.
2329 | July 22, 2016 02:45:19 AM GMT
This bug is not fixed. We thought it is, but we found it is not. Just change the order of cfdump and cfmail and it is broken again. <cfprocessingdirective pageencoding="utf-8" /> <cfoutput> <cfset local.yourEmail = "me@example.com" /> <cfdump var="#url#" /> <cfmail from="#local.yourEmail#" to="#local.yourEmail#" subject="Test Mail" type="html"> <cfdump var="#url#" /> </cfmail> </cfoutput>
Comment by External U.
2330 | November 25, 2016 06:00:46 AM GMT