Moodle

Leading spaces on user name fields

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: 1.2.1
  • Fix Version/s: None
  • Component/s: General
  • Labels:
    None
  • Environment:
    All
  • Database:
    Any
  • Affected Branches:
    MOODLE_12_STABLE

Description

Students have found that leading spaces are permissible on Firstname & Surname fields. This radically alters positioning in alphabetic listings.

Might be useful to consider trimming leading/trailing spaces for all mandatory fields at validation time.

Activity

Hide
Martin Dougiamas added a comment -

From Eloy Lafuente (stronk7 at moodle.org) Sunday, 16 May 2004, 06:20 AM:

Hi Paul,

now firstname and lastname are trimmed in the Edit screen before being saved to DB.

Closing this bug now (reopen if necessary), ciao

Show
Martin Dougiamas added a comment - From Eloy Lafuente (stronk7 at moodle.org) Sunday, 16 May 2004, 06:20 AM: Hi Paul, now firstname and lastname are trimmed in the Edit screen before being saved to DB. Closing this bug now (reopen if necessary), ciao
Hide
Michael Blake added a comment -

assign to a valid user

Show
Michael Blake added a comment - assign to a valid user

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: