Dec 14
Just an FYI. I ran CFQueryParam Scanner (latest from RiaForge) on my local CF9 box, and got this error:
Invalid name for user-defined function.
The name Variables.Struct contains illegal characters.
The CFML compiler was processing:
* A cffunction tag beginning on line 4, column 2.
The error occurred in \qpscanner\index.cfm: line 4
I changed the function named "Variables.Struct" to "Variables_Struct" and ran it to get this error:
Variable STRUCT is undefined.
The error occurred in \qpscanner\index.cfm: line 16


Dec 18, 2009 at 3:32 AM Argh! There's no reason that shouldn't work. :@
The solution to this is to also assign Variables_Struct into Variables.Struct, like so:
<cffunction name="Variables_Struct" returntype="Struct"><cfreturn Arguments/></cffunction>
<cfset Variables.Struct = Variables_Struct />
I'll double check that on other engines and commit the fix as soon as I can (probably be this evening).
In future, please report problems like this using the "Contact Project" option on RIAForge, so that I can fix issues like this sooner.
Dec 18, 2009 at 3:40 AM Also worth noting, you can probably fix this by switching all Struct() calls to the new inline struct notation - assuming you don't need backwards compatibility with other engines.
Dec 18, 2009 at 8:50 AM Peter,
I did use the "Contact Project" option. Looks like you never got my email, so I made this blog post. :)
Look forward to your fix.
Dec 18, 2009 at 9:09 AM Hmm, possibly there may be a problem with the contact form - couldn't see anything in spam, so I tried to send myself a message, and after 15 minutes it still hasn't arrived (but a separate test to same address has arrived).