I've complained about this, before..
I forget what update broke CF Server. The one where if any variable in any scope is passed to a CFC function, but it's not in the CFARGUMENTS at the very start of the function, then CF throws an exception.
I have a .cfc, let's call it "myFunction.cfc", where there is a function that adds a calendar event to a very rudimentary calendar for users to view. In calling that function via AJaX, I have appended some URL parameters.
myFunction.cfc?method=addrecord&returnformat=plain&returntype=plain
Someone just tried to enter an event into the calendar. CF Server sent us an email:
Diagnostics: Function addrecord does not support returntype as an argument in X:\path\to\myFunction.cfc
The error occured on line -1
...
Template: /path/to/myFunction.cfc
Query String: method=addrecord&returnformat=plain&returntype=plain
returntype is an instruction to the function, not a value being processed by the function.
Why did Adobe break this?
WolfShade
