@ -418,11 +418,14 @@ abstract class CPHPDatabaseRecordClass extends CPHPBaseClass
$sValueList[] = $sFinalValue;
}
else
{
if($this->autoloading === false)
$classname = get_class($this);
throw new Exception("Database insertion failed: prototype property {$value['key']} not found in object of type {$classname}.");
if($insert_mode == CPHP_INSERTMODE_INSERT)