Afternoon folks!

We have run into some really strange problems with cfdump-ing a cfcatch 
structure.  It is almost as though at the end of <cfdump var="#cfcatch#"> is 
<cfsetiing enablecfoutputonly="yes">.

We are running this and getting the same results on 2 different servers.  Both 
are on CFMX 6.1, one is windows 2000, one is 2003.  Here are three test cases:

Test1.cfm
<!--- 

start test1.cfm

This will not render anything below the cfdump outside of a cf tag or cfoutput 
block
--->

<div>
        Stuff in the div top
</div>


<cftry>
        <cfthrow type="application" message="stuff happens">
        <cfcatch type="application">
                <cfdump var="#cfcatch#">                
                <cfdump var="#server#">
        </cfcatch>
</cftry>

<div>
Stuff in the div bottom
</div>

<!--- end test1.cfm --->

test2.cfm
<!---
start test2.cfm

This test has cfsetting enablecfoutputonly set to no.  It will allow content to 
be rendered
--->


<div>
        Stuff in the div top
</div>


<cftry>
        <cfthrow type="application" message="stuff happens">
        <cfcatch type="application">
                <cfdump var="#cfcatch#">                
                <cfsetting enablecfoutputonly="no">
                <cfdump var="#server#">
        </cfcatch>
</cftry>

<div>
Stuff in the div bottom
</div>

<!--- end test2.cfm --->

test3.cfm
<!---
test3.cfm

This one has the dump of the cfcatch structure removed.  You can see the 
content at the bottom of the page is rendered
--->


<div>
        Stuff in the div top
</div>


<cftry>
        <cfthrow type="application" message="stuff happens">
        <cfcatch type="application">
                <!--- 
<cfdump var="#cfcatch#">        
                                <cfsetting enablecfoutputonly="no">
                --->    
                <cfdump var="#server#">
        </cfcatch>
</cftry>

<div>
Stuff in the div bottom
</div>

<!--- end test3.cfm --->

Tim

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217681
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to