Hi folks,
I guess this is technically a CF issue, but since it threw a 3-day crimp
into my development, and since it seems like a fairly natural action in
Spectra, I figured I'd share/ask for help . . .
It turns out that this code:
<cfset "caller.#request.r_query#" = duplicate(request.q_all_files)>
Would cause the CF interpreter to go completely haywire. It would throw
"interpreter" errors, and then would start throwing all kinds of illogical
errors (like invalid param lists for CF tags that are being called
correctly) until it was rebooted. Often times in the process of recycling
services CF would throw a Dr. Watson error.
Removing the "duplicate" function works:
<cfset "caller.#request.r_query#" = request.q_all_files>
Here are my questions (some will probably only be answerable if this is a
known bug):
[1] Is using duplicate() on queries always a bad idea, or just when you
are copying them back to caller scope? (I think I've "duplicated" queries
in app.cfm to app scope without incident, but I'm doubting my memory based
on this experience.)
[2] I was surprised that a straight assignment worked. Can anyone tell
me when I should use straight assignment vs. duplicate()?
[3] I saw a post in Forums that I have to pay $75 to make a bug
report. Is this true?
Thanks!
Jim
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.