-
Bug
-
Resolution: Fixed
-
Minor
-
3.0.2
-
MOODLE_30_STABLE
-
MOODLE_30_STABLE
-
MDL-53071-master -
-
3.1 Sprint 4
Prior to Moodle 3.0 (perhaps in a release between 2.7 and 3.0), a section or topic name could be "blank" by unchecking the "use default section name" box and typing a space into the Section name field. Since upgrading from 2.7 to 3.0 we can no longer enter just a space. An error "Required" displays when a space is entered.
To replicate:
1. Create a new Topics format course in Moodle 3.0.2
2. Once course is created (either enrol or don't enrol users/teachers, etc., turn editing on.
3. Click Edit settings for one of the topics/sections in the course.
4. Uncheck the "use default section name" box.
5. Type a space in the section name box.
6. Click Save changes - the error "Required" displays because the section name can't be blank, even a space doesn't count as text.
This is possibly also related to MDL-35743 that is still unresolved but the workaround was to leave the section name blank - which can no longer be done.
- has a non-specific relationship to
-
MDL-35743 Allow to have sections without headers
-
- Closed
-
- is a regression caused by
-
MDL-51250 Default section name not shown when default checkbox is checked
-
- Closed
-
- Testing discovered
-
MDL-53230 Ensure empty section names are saved as NULL in database
-
- Closed
-
- will help resolve
-
MDL-34858 Section 0 displays default name when user intends to be blank in one section per page mode.
-
- Closed
-