Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-1140

Improve "form validation error" message, that is shown in Debugger

    XMLWordPrintable

    Details

    • 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

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: