-
Type: Bug Report
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 5.2.0
-
Fix Version/s: 5.2.1-B1
-
Component/s: Debugger
-
Labels:None
-
External issue URL:
-
Change Log Message:Added more info to item validation error message
-
Story Points:1
-
External issue ID:1381
-
Copy Issue Key:
-
Patch Instructions:
When validation of an item fails In-Portal triggers a notice with following text and adds detailed error list in a debugger report:
Notice (#1): Validation failed in prefix - conf, FieldErrors follow (look at items with "pseudo" key set)
You may ignore this notice if submitted data really has a validation error in ...\core\kernel\utility\validator.php on line 120
If you're editing only 1 record at a time (e.g. on editing page), then this is normal. But when multiple items are changed in database (e.g. 20), and only several of them have validation errors, then it's hard to determine which ones exactly.
I'm proposing to display item's ID and Title Field value as a help in solving this item identification problem. With proposed changed message now will look as follows:
Notice (#1): Validation failed in prefix - conf (VariableId: 55; VariableName: Require_AdminSSL), FieldErrors follow (look at items with "pseudo" key set)
You may ignore this notice if submitted data really has a validation error in ...\core\kernel\utility\validator.php on line 120