On Sep 7, 12:55 pm, Sean Corfield <[email protected]> wrote: > I changed it to isDefined( 'request.controller' ) and that does not > fix the issue so I'm suspecting it's more complicated than this. Does > isDefined() return true for a variable that has a null value? If so, > that's incompatible with Adobe CF and Railo.
Define what you mean by "null value." Since when did Adobe CF have nulls? Also it seems this wasn't clear before--where it's blowing up arguments.cfc is not a CFC or a struct, it's a zero-length string. This returns true in OpenBD: <cfset request.controller = null /> <cfif structKeyExists(request, "controller")> <!--- evaluates to true ---> If you dump request.controller it's an empty string. Good to know it's a compatibility issue, but I'm still curious specifically what CF 8 is doing with something like <cfset foo = null / >. To me even though it's incompatible I don't believe that's incorrect behavior; the struct key *does* exist and has a value of null. That's different than the struct key not existing. We'll have to discuss it from a compatibility standpoint, however. --~--~---------~--~----~------------~-------~--~----~ Open BlueDragon Public Mailing List http://groups.google.com/group/openbd?hl=en official site @ http://www.openbluedragon.org/ !! save a network - trim replies before posting !! -~----------~----~----~----~------~----~------~--~---
