Index: branches/5.2.x/core/kernel/utility/validator.php =================================================================== diff -u -N -r15234 -r15522 --- branches/5.2.x/core/kernel/utility/validator.php (.../validator.php) (revision 15234) +++ branches/5.2.x/core/kernel/utility/validator.php (.../validator.php) (revision 15522) @@ -1,6 +1,6 @@ Application->isDebugMode() ) { - $error_msg = ' Validation failed in prefix ' . $this->dataSource->Prefix . ', + $title_info = $this->dataSource->GetTitleField(); + + $item_info = Array ( + $this->dataSource->IDField . ': ' . $this->dataSource->GetID() . '', + ); + + if ( $title_info && reset($title_info) ) { + $item_info[] = key($title_info) . ': ' . current($title_info) . ''; + } + + $error_msg = ' Validation failed in prefix - ' . $this->dataSource->Prefix . ' (' . implode('; ', $item_info) . '), FieldErrors follow (look at items with "pseudo" key set)
You may ignore this notice if submitted data really has a validation error'; trigger_error(trim($error_msg), E_USER_NOTICE);