I ran into a little bug today with cftimer. I was using the inline mode which is supposed to report the time right where the code was ran. However, nothing showed up.
On a whim, I turned of the enablecfoutputonly setting and it started working. I turned it back on, wrapped cftimer in cfoutput tags, and it worked as well.
Turns out cftimer doesn't always output. Other tags, like cfdump, will always show their output, even if inside an enablecfoutputonly=true and no cfoutput tags. This makes sense if you think about it. Any cf tag that generates output should be treated just like a cfoutput block.
I reported the bug. Don't forget that you can report bugs as well. Just go here: http://www.macromedia.com/go/wish. I can say from personal experience that Adobe does read the bug entries.
Archived Comments
I just wanted to add a note about outputting. I am not at my dev computer right now, so I can't test this, but I am fairly sure that CFDump will not produce output if inside a CFSilent tag (unless you CFabort inside the tag, in which case the CFSilent seems to not take place).
Additionally, CFDump does not display output in CFcomponents that have no output (output="no").
Now, this could be way off, but I think I even remember running into a problem where GetPageContext().GetOut().ClearBuffer() didn't even do anything when inside a CFSilent tag. But I could be totally wrong there.
Bottom line though, while any CF tag that generates content should be treated like a CFoutput tag, I don't think it should just be assumed that this actually puts content in the page output.
That is a good point. I would assume cfsilent would trump all. So when I said cftimer should 'always' spit out, I meant in the same way that other tags like cfdump, cftable, etc, would act.
I love it Ray... you reported bugs to the "WISH" list? Is that supposed to be a joke? You wish they would fix the bugs?
Um. That isn't a joke. It's just the URL. They use it for both bug reports and feature requests. And I know for a fact they monitor as I've seen updates based on my submission.