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

Non-default Section name not shown at the site level

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.1, 2.6.1, 2.7.1, 2.8, 2.9
    • Fix Version/s: 2.7.4, 2.8.2
    • Component/s: Course
    • Testing Instructions:
      Hide
      1. Go to Admin > Front page > Front page settings
      2. tick 'include topic section'
      3. Go to top-level of a moodle site and log in as admin
      4. Turn editing on
      5. Edit summary for the front page (where section 1 should appear)
      6. Uncheck "Use default section name"
      7. Insert "My site title" into the "Section name" field, and Save changes
      8. Viewing the front page again, the text "My site title" SHOULD appear as a title at the top of the summary.
      9. Edit the section summary again
      10. Check "Use default section name" and save changes
      11. Viewing the front page again, you SHOULD NOT see the section name
      Show
      Go to Admin > Front page > Front page settings tick 'include topic section' Go to top-level of a moodle site and log in as admin Turn editing on Edit summary for the front page (where section 1 should appear) Uncheck "Use default section name" Insert "My site title" into the "Section name" field, and Save changes Viewing the front page again, the text "My site title" SHOULD appear as a title at the top of the summary. Edit the section summary again Check "Use default section name" and save changes Viewing the front page again, you SHOULD NOT see the section name
    • Workaround:
      Hide

      Apply attached patch

      Show
      Apply attached patch
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE
    • Pull Master Branch:
      MDL-31822_master
    • Sprint:
      BACKEND Sprint 19
    • Issue size:
      Small

      Description

      Editing the Section summary for a Moodle site, unchecking "Use default section name", and adding a custom "Section name" [0], does not result in the Section name being displayed as a heading on the Site homepage.

      Action: Edited summary for the front page, enabling and adding a custom "Section name" value. Saved changes.

      Expected results: Custom "Section name" should appear as a title at the top of the summary.
      Actual results: No title is displayed.

      Patch to fix this attached.

      [0] http://docs.moodle.org/22/en/course/editsection

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                6 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  12/Jan/15