Index: branches/RC/core/kernel/db/dbitem.php =================================================================== diff -u -r10098 -r10122 --- branches/RC/core/kernel/db/dbitem.php (.../dbitem.php) (revision 10098) +++ branches/RC/core/kernel/db/dbitem.php (.../dbitem.php) (revision 10122) @@ -383,7 +383,9 @@ if( !isset($this->ID) ) return false; // Validate before updating - if( !$this->IgnoreValidation && !$this->Validate() ) return false; + if (!$this->Validate()) { + return false; + } if( !$this->raiseEvent('OnAfterItemValidate') ) return false; //Nothing to update @@ -462,6 +464,10 @@ { $this->UpdateFormattersMasterFields(); //order is critical - should be called BEFORE checking errors + if ($this->IgnoreValidation) { + return true; + } + $global_res = true; foreach ($this->Fields as $field => $params) { $res = $this->ValidateField($field); @@ -713,7 +719,9 @@ if( !$this->raiseEvent('OnBeforeItemCreate') ) return false; // Validating fields before attempting to create record - if( !$this->IgnoreValidation && !$this->Validate() ) return false; + if (!$this->Validate()) { + return false; + } if( !$this->raiseEvent('OnAfterItemValidate') ) return false; if (is_int($force_id)) {