Index: branches/5.3.x/core/kernel/utility/validator.php
===================================================================
diff -u -N -r15483 -r15677
--- branches/5.3.x/core/kernel/utility/validator.php (.../validator.php) (revision 15483)
+++ branches/5.3.x/core/kernel/utility/validator.php (.../validator.php) (revision 15677)
@@ -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);