G'day

Here's some quick sample code:

COMP.CFC

<cfcomponent>
        <cffunction name="func" output="true">
                <cfargument name="arg" required="no">

                <cfdump var="#arguments#" label="f1 arguments">
                WHY DOES IT NOT OUTPUT THIS?
                
                <cfdump var="#arguments#" label="But it *does* output
this!">
        </cffunction>
</cfcomponent>


CALLER.CFM
<cfinvoke component="comp" method="func">


When I run this, I see the first and second dumps, but not the
intermediary output?

If I change the relevant line to this:
<cfoutput>WHY DOES IT NOT OUTPUT THIS?</cfoutput>

Then it *does* output.

What's going on there?  A bug in the <cfdump> tag, I guess?

Any thoughts?

I note that there's a bunch of exceptions output by CFDUMP too, which is
a bit manky:

09:25:10.010 - Expression Exception - in
C:\Inetpub\wwwroot\adam_junk\tests\cfcs\null_args\comp.cfc : line 5
            Element VAR is undefined in ATTRIBUTES.
            
09:25:10.010 - coldfusion.util.RuntimeWrapper Exception - in
C:\Inetpub\wwwroot\adam_junk\tests\cfcs\null_args\comp.cfc : line 5
            Attribute validation error.
            
09:25:10.010 - Template Exception - in
C:\Inetpub\wwwroot\adam_junk\tests\cfcs\null_args\comp.cfc : line 5
            Attribute validation error.
            
09:25:10.010 - Expression Exception - in
C:\Inetpub\wwwroot\adam_junk\tests\cfcs\null_args\comp.cfc : line 8
            Element VAR is undefined in ATTRIBUTES.
            
09:25:10.010 - coldfusion.util.RuntimeWrapper Exception - in
C:\Inetpub\wwwroot\adam_junk\tests\cfcs\null_args\comp.cfc : line 8
            Attribute validation error.
            
09:25:10.010 - Template Exception - in
C:\Inetpub\wwwroot\adam_junk\tests\cfcs\null_args\comp.cfc : line 8
            Attribute validation error.


Adam

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev'
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to