Re: cfdump and functions bug (CF 7)

2005-02-23 Thread Sean Corfield
On Tue, 22 Feb 2005 15:17:09 -0300, Terracini [EMAIL PROTECTED] wrote: And the doubled outputed data was driving me crazy, since I was trying to find a non-existant bug in the UDF. Anyway, I think this is a CF7 bug, since it double the data outputed by a function when called by cfdump tag.

Re: cfdump and functions bug (CF 7)

2005-02-22 Thread Sean Corfield
On Mon, 21 Feb 2005 11:28:53 -0300, Terracini [EMAIL PROTECTED] wrote: cffunction name=test output=Yes a cfreturn foo /cffunction Outputting something and also returning a value is not really a good idea. Either a method should return a result or it should output something (and return

Re: cfdump and functions bug (CF 7)

2005-02-22 Thread Terracini
I'm plenty sure of that! I was developing an UDF and both outputing data (to debug) and returning data. And the doubled outputed data was driving me crazy, since I was trying to find a non-existant bug in the UDF. Anyway, I think this is a CF7 bug, since it double the data outputed by a

cfdump and functions bug (CF 7)

2005-02-21 Thread Terracini
Hello, I wrote a small UDF to help confirm this: cffunction name=test output=Yes a cfreturn foo /cffunction cfoutput#test()#/cfoutput br cfdump var=#test()# The expected result is: a foo a foo But the result I'm getting (tested in two CF 7 deploys, Windows based) is a foo a a foo

cfdump and functions bug (CF 7)

2005-02-21 Thread Terracini
Hello, I wrote a small UDF to help confirm this: cffunction name=test output=Yes a cfreturn foo /cffunction cfoutput#test()#/cfoutput br cfdump var=#test()# The expected result is: a foo a foo But the result I'm getting (tested in two CF 7 deploys, Windows based) is a foo a a foo The