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

Cannot have a section called 0

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.6, 2.2.3, 2.3
    • 2.1.7, 2.2.4
    • Course
    • MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • Hide

      Do this for every course format that lets you edit section names.

      1. Create a course in Topics format
      2. Turn editing on.
      3. Edit the introduction to one section, and try to set the name to '0'.
      4. Save changes.
      5. Make sure that the section appears with name '0'.

      Show
      Do this for every course format that lets you edit section names. 1. Create a course in Topics format 2. Turn editing on. 3. Edit the introduction to one section, and try to set the name to '0'. 4. Save changes. 5. Make sure that the section appears with name '0'.

    Description

      1. Create a course in Topics format
      2. Turn editing on.
      3. Edit the introduction to one section, and try to set the name to '0'.
      4. Save changes. You are ignored.

      (If you look in the DB, you can see the new name has been saved, but because of various if !empty checks, it is not used.

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              timhunt Tim Hunt
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Amaia Anabitarte, Carlos Escobedo, Laurent David, Mikel Martín Corrales, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Jul/12