This is a followup of MDL-53071.
1) For MOODLE_30_STABLE and earlier, empty section names are being stored as NULL in the database. That null means "use default name".
2) In MDL-53071 it was detected that for master (3.1.dev) we have changed that behavior to store empty strings instead. Both when using the form and also when performing inline section name edition.
So this issue is about:
A) Move back, in master, to store NULLs in database. It's not really super-critical, but better if we keep the historic meaning there. Both using the form and inline editing.
B) Ideally cover with some tests all these cases (1-space, empty, zero...), so we keep them constant over the time (in fact MDL-53071 was a regression).
That's it, ciao
- Discovered while testing
-
MDL-53071 Unable to use space a section name to have a section without a header
-
- Closed
-
- has been marked as being related by
-
MDL-55362 Topic section with default name at site level creates empty h2 tag
-
- Closed
-
-
MDL-63462 Topic#0 behaves inconsistently in course format: topics format
-
- Closed
-
- will be (partly) resolved by
-
MDL-72762 Backup fails if section name has only blank spaces
-
- Closed
-
- will help resolve
-
MDL-34858 Section 0 displays default name when user intends to be blank in one section per page mode.
-
- Closed
-
-
MDL-58696 Section zero name no longer null.
-
- Closed
-