Index: branches/5.2.x/core/kernel/utility/factory.php =================================================================== diff -u -N -r14428 -r14572 --- branches/5.2.x/core/kernel/utility/factory.php (.../factory.php) (revision 14428) +++ branches/5.2.x/core/kernel/utility/factory.php (.../factory.php) (revision 14572) @@ -1,6 +1,6 @@ Files[$real_class]) ) { - throw new Exception('Real Class ' . $real_class . ' is not registered with the Factory'); + throw new Exception('Real Class ' . $real_class . ' (for pseudo class ' . $pseudo_class . ') is not registered with the Factory'); } if( !file_exists(FULL_PATH . $this->Files[$real_class]) ) { @@ -198,7 +198,7 @@ { foreach($this->Dependencies[$real_class] as $dep_class_name) { - $this->includeClassFile($dep_class_name); + $this->includeClassFile($dep_class_name, $pseudo_class); } } @@ -224,7 +224,7 @@ $real_class = $this->realClasses[$pseudo_class]; if ( !class_exists($real_class) ) { - $this->includeClassFile($real_class); + $this->includeClassFile($real_class, $pseudo_class); } $mem_before = memory_get_usage();