-
Bug
-
Resolution: Fixed
-
Blocker
-
1.9.4, 2.0.3
-
N/A
-
MySQL
-
MOODLE_19_STABLE, MOODLE_20_STABLE
-
MOODLE_20_STABLE, MOODLE_21_STABLE
-
wip-
MDL-19907-master -
In many of places in where moodle specifies a field ( input text field ) as mandatory, it is accepting "space" as a input and then proceeds without prompting,which results in an anonymous elements into the site or a course
Steps to reproduce:
Scenario 1:
1. create a new course with space as course "full name" and with other details filled.
Scenario 2 :
1.Create a new user with some username and password with space as first name and lastname and city
Actual Results :
it is accepting "space" as a input and then proceeds without prompting,which results in an anonymous elements into the site or a course.
Expected results :
Space should be trimmed if its at the starting of any name or mandatory field, and if its not followed by any other valid characters the usual error highlighting should be done requesting the user to give valid inputs