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

Block section_links throw notices when course format is changed from weekly/topic to social or scrom

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.3, 2.5.1, 2.6
    • Fix Version/s: 2.4.6, 2.5.2
    • Component/s: Blocks
    • Labels:

      Description

      1. Log in as admin
      2. Go to a course
      3. Add section links block
      4. Edit course settings and change format to social
      5. Save and you will see following notice
        Stack trace:, referer: http://rajesh.moodle.local/m24/course/edit.php
        1. {main}() /var/www/m24/course/view.php:0, referer: http://rajesh.moodle.local/m24/course/edit.php
        2. core_renderer->header() /var/www/m24/course/view.php:240, referer: http://rajesh.moodle.local/m24/course/edit.php
        3. core_renderer->render_page_layout() /var/www/m24/lib/outputrenderers.php:734, referer: http://rajesh.moodle.local/m24/course/edit.php
        4. include() /var/www/m24/lib/outputrenderers.php:804, referer: http://rajesh.moodle.local/m24/course/edit.php
        5. block_manager->region_has_content() /var/www/m24/theme/base/layout/general.php:6, referer: http://rajesh.moodle.local/m24/course/edit.php
        6. block_manager->ensure_content_created() /var/www/m24/lib/blocklib.php:353, referer: http://rajesh.moodle.local/m24/course/edit.php
        7. block_manager->create_block_contents() /var/www/m24/lib/blocklib.php:1005, referer: http://rajesh.moodle.local/m24/course/edit.php
        8. block_base->get_content_for_output() /var/www/m24/lib/blocklib.php:953, referer: http://rajesh.moodle.local/m24/course/edit.php
        9. block_base->formatted_contents() /var/www/m24/blocks/moodleblock.class.php:232, referer: http://rajesh.moodle.local/m24/course/edit.php
        10. block_section_links->get_content() /var/www/m24/blocks/moodleblock.class.php:284, referer: http://rajesh.moodle.local/m24/course/edit.php
        

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  9/Sep/13