Uploaded image for project: 'PresideCMS'
  1. PRESIDECMS-862

Validation: some client-side validators different from server-side

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects versions: 10.7.43, 10.8.0
    • Fix versions: 10.8.0
    • Labels:
      None
    • Sprint:
    • Accepted:
      Yes

      Description

      In the core validators, some of the client-side validation rules do not mirror the logic of the server-side rules.

      For example:

      laterThanField

      Server-side does not fail validation if either of the fields to be compared is empty.
      Client-side makes both fields required. If either or both fields are empty, validation fails. This should not be a concern of this validator - if they are required, a required rule should be used in addition.

      All validation rules should be checked for consistency.

        Attachments

          Activity

            People

            • Assignee:
              seb.duggan Seb Duggan
              Reporter:
              seb.duggan Seb Duggan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: