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

setting up the default for My Home page produces block/course_overview:addinstance notice

XMLWordPrintable

    • MOODLE_24_STABLE, MOODLE_25_STABLE
    • MOODLE_24_STABLE, MOODLE_25_STABLE
    • MDL-40662_master
    • Hide
      1. Log in as admin.
      2. Ensure debugging is enabled (Site admin > Development > Debugging).
      3. Visit the default setting for 'My home page' (Site admin > Appearance > Default my home page).
      4. Click "Customise this page".
      5. Ensure no debugging message is shown.
      6. Visit '<yoursite>/admin/tool/capability/index.php' and ensure no debugging is shown about a missing string.
      7. In the search box type 'course_over' to display the block/course_overview:addinstance capability and ensure there is a readable description.
      Show
      Log in as admin. Ensure debugging is enabled (Site admin > Development > Debugging). Visit the default setting for 'My home page' (Site admin > Appearance > Default my home page). Click "Customise this page". Ensure no debugging message is shown. Visit '<yoursite>/admin/tool/capability/index.php' and ensure no debugging is shown about a missing string. In the search box type 'course_over' to display the block/course_overview:addinstance capability and ensure there is a readable description.
    • 8
    • BACKEND Sprint 3

      Reproduction steps:

      1. Log in as admin
      2. Ensure debugging is enabled (Site admin > Development > Debugging)
      3. Visit the default setting for 'My home page' (Site admin > Appearance > Default my home page)
      4. Click "Customise this page"

      Notice the following error:

      The block course_overview does not define the standard capability block/course_overview:addinstance
       
          line 606 of /blocks/moodleblock.class.php: call to debugging()
          line 584 of /blocks/moodleblock.class.php: call to block_base->has_add_block_capability()
          line 1090 of /lib/blocklib.php: call to block_base->user_can_addto()
          line 1047 of /lib/blocklib.php: call to block_manager->user_can_delete_block()
          line 256 of /blocks/moodleblock.class.php: call to block_manager->edit_controls()
          line 951 of /lib/blocklib.php: call to block_base->get_content_for_output()
          line 1003 of /lib/blocklib.php: call to block_manager->create_block_contents()
          line 353 of /lib/blocklib.php: call to block_manager->ensure_content_created()
          line 3068 of /lib/outputrenderers.php: call to block_manager->region_has_content()
          line 3104 of /lib/outputrenderers.php: call to core_renderer->body_css_classes()
          line 49 of /theme/clean/layout/columns3.php: call to core_renderer->body_attributes()
          line 847 of /lib/outputrenderers.php: call to include()
          line 777 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
          line 99 of /my/indexsys.php: call to core_renderer->header()
      

            markn Mark Nelson
            rwijaya Rossiani Wijaya
            Rajesh Taneja Rajesh Taneja
            Sam Hemelryk Sam Hemelryk
            Sam Hemelryk Sam Hemelryk
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.