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 2.7 Branch:
    • Pull 2.8 Branch:
    • Pull Master Branch:
      MDL-31822_master
    • Sprint:
      BACKEND Sprint 19
    • 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

          Activity

          balchd David Balch created issue -
          balchd David Balch made changes -
          Field Original Value New Value
          Labels patch
          poltawski Dan Poltawski made changes -
          Assignee moodle.com [ moodle.com ] Dan Poltawski [ poltawski ]
          poltawski Dan Poltawski made changes -
          Testing Instructions 1. Go to top-level of a moodle site and log in as admin
          2. Turn editing on
          3. Edit summary for the front page
          4. Uncheck "Use default section name"
          5. Insert "My site title" into the "Section name" field, and Save changes
          6. Viewing the front page again, the text "My site title" should appear as a title at the top of the summary.
          # 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
          # 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.
          poltawski Dan Poltawski made changes -
          Fix Version/s STABLE backlog [ 10463 ]
          poltawski Dan Poltawski made changes -
          poltawski Dan Poltawski made changes -
          Labels patch patch triaged
          cfulton Charles Fulton made changes -
          Affects Version/s 2.6.1 [ 12856 ]
          salvetore Michael de Raadt made changes -
          Fix Version/s FRONTEND [ 12581 ]
          Fix Version/s STABLE backlog [ 10463 ]
          Component/s Course [ 10057 ]
          Component/s General [ 10049 ]
          scyrma Mathieu Petit-Clair made changes -
          Affects Version/s 2.7.1 [ 13550 ]
          poltawski Dan Poltawski made changes -
          Assignee Dan Poltawski [ poltawski ]
          balchd David Balch made changes -
          balchd David Balch made changes -
          balchd David Balch made changes -
          Status Open [ 1 ] Waiting for peer review [ 10012 ]
          cibot CiBoT made changes -
          Labels patch triaged ci patch triaged
          balchd David Balch made changes -
          Labels ci patch triaged cime patch triaged
          cibot CiBoT made changes -
          Labels cime patch triaged ci cime patch triaged
          cibot CiBoT made changes -
          Labels ci cime patch triaged ci patch triaged
          dmonllao David Monllaó made changes -
          Original Estimate 0 minutes [ 0 ]
          Remaining Estimate 0 minutes [ 0 ]
          Status Waiting for peer review [ 10012 ] Peer review in progress [ 10013 ]
          Peer reviewer David Monllaó [ davmon ]
          damyon Damyon Wiese made changes -
          Sprint BACKEND Sprint 19 [ 37 ]
          Issue size Small [ 10340 ]
          dmonllao David Monllaó made changes -
          Assignee David Monllaó [ davmon ]
          dmonllao David Monllaó made changes -
          Labels ci patch triaged ci docs_required patch triaged ui_change
          dmonllao David Monllaó made changes -
          Status Peer review in progress [ 10013 ] Waiting for integration review [ 10010 ]
          Pull Master Diff URL https://github.com/Dave-B/moodle/compare/MDL_31822?expand=1 https://github.com/dmonllao/moodle/compare/MDL-31822_master~2...MDL-31822_master
          Pull Master Branch MDL_31822 MDL-31822_master
          Pull from Repository https://github.com/Dave-B/moodle.git https://github.com/dmonllao/moodle.git
          Testing Instructions # 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
          # 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.
          # 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
          cibot CiBoT made changes -
          Status Waiting for integration review [ 10010 ] Waiting for integration review [ 10010 ]
          Currently in integration Yes [ 10041 ]
          cibot CiBoT made changes -
          Labels ci docs_required patch triaged ui_change docs_required patch triaged ui_change
          cibot CiBoT made changes -
          Labels docs_required patch triaged ui_change ci docs_required patch triaged ui_change
          stronk7 Eloy Lafuente (stronk7) made changes -
          Status Waiting for integration review [ 10010 ] Integration review in progress [ 10004 ]
          Integrator Eloy Lafuente (stronk7) [ stronk7 ]
          stronk7 Eloy Lafuente (stronk7) made changes -
          Labels ci docs_required patch triaged ui_change cime docs_required patch triaged ui_change
          cibot CiBoT made changes -
          Labels cime docs_required patch triaged ui_change docs_required patch triaged ui_change
          stronk7 Eloy Lafuente (stronk7) made changes -
          Status Integration review in progress [ 10004 ] Waiting for testing [ 10005 ]
          Affects Version/s 2.9 [ 14251 ]
          Fix Version/s 2.7.4 [ 14351 ]
          Fix Version/s 2.8.2 [ 14450 ]
          Fix Version/s FRONTEND [ 12581 ]
          rajeshtaneja Rajesh Taneja made changes -
          Tester Ankit Agarwal [ ankit_frenz ]
          ankit_frenz Ankit Agarwal made changes -
          Status Waiting for testing [ 10005 ] Testing in progress [ 10011 ]
          ankit_frenz Ankit Agarwal made changes -
          Status Testing in progress [ 10011 ] Tested [ 10006 ]
          poltawski Dan Poltawski made changes -
          Status Tested [ 10006 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Currently in integration Yes [ 10041 ]
          Integration date 11/Dec/14
          marina Marina Glancy made changes -
          Assignee David Monllaó [ davmon ] David Balch [ balchd ]
          tsala Helen Foster made changes -
          Labels docs_required patch triaged ui_change patch triaged ui_change

            People

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

              Dates

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

                Agile