Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-29582

missing validation error in web UIs when entering names with leading/trailling spaces.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not a bug
    • Affects Version/s: 2.0.4, 2.1.1, 2.2
    • Fix Version/s: None
    • Component/s: Administration
    • Labels:
    • Testing Instructions:
      Hide

      1) you shouldn't be allowed to proceed unless there are no leading/trailing spaces in firstname lastname fields when creating /editing users.

      Show
      1) you shouldn't be allowed to proceed unless there are no leading/trailing spaces in firstname lastname fields when creating /editing users.
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE

      Description

      This issue is to decide IF we need validation errors when entering leading/trailing spaces in firstname and lastname via the GUI form.

      This is following on from MDL-25027 where we remove the trimming of data from external source to make it consistent with GUI at the moment and also to stop mangling incoming data.
      The GUI could possibly be doing validations on upon new entry or edit of data.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              nebgor Aparup Banerjee
              Reporter:
              nebgor Aparup Banerjee
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: