On Sun, Sep 6, 2009 at 11:11 PM, Matthew Woodward<[email protected]> wrote:
> Just so it's clear, where it's bombing out is because in doController when
> this is called:
> structKeyExists(arguments.cfc,arguments.method)
>
> arguments.cfc is not a struct but that code assumes it is.
Well, arguments.cfc is a CFC instance - or should be - and
structKeyExists() should work on that.
getCachedComponent() should return a CFC instance - or null if there's
no matching controller for the request.
I wonder if this type of code fails on OpenBD:
request.controller = null; // effectively - by getController() not
returning anything
if ( structKeyExists( request, "controller" ) ) {
...
Does OpenBD return true for that I wonder? (Adobe CF and Railo return
false there)
That would certainly lead to an attempt to call doController() with
the first argument being null.
--
Sean A Corfield -- (904) 302-SEAN
Railo Technologies US -- http://getrailo.com/
An Architect's View -- http://corfield.org/
"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood
--~--~---------~--~----~------------~-------~--~----~
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 !!
-~----------~----~----~----~------~----~------~--~---