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

Block config pages don't have any navigation at the moment.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Blocks
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Block config pages currenltly have no navigation, probbaly because a context is not set or something. Here's the debug trace:

      An unknown context has passed into settings_navigation::initialise

      • line 2622 of /lib/navigationlib.php: call to debugging()
      • line 500 of /lib/pagelib.php: call to settings_navigation->initialise()
      • line 515 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
      • line 2354 of /lib/navigationlib.php: call to moodle_page->__get()
      • line 542 of /lib/pagelib.php: call to navbar->has_items()
      • line 26 of /theme/standardold/layout/normal.php: call to moodle_page->has_navbar()
      • line 647 of /lib/outputrenderers.php: call to include()
      • line 605 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
      • line 1182 of /lib/blocklib.php: call to core_renderer->header()
      • line 955 of /lib/blocklib.php: call to block_manager->process_url_edit()
      • line 1001 of /lib/pagelib.php: call to block_manager->process_url_actions()
      • line 603 of /lib/pagelib.php: call to moodle_page->starting_output()
      • line 600 of /lib/outputrenderers.php: call to moodle_page->set_state()
      • line ? of unknownfile: call to core_renderer->header()
      • line 873 of /lib/setuplib.php: call to call_user_func_array()
      • line ? of unknownfile: call to bootstrap_renderer->__call()
      • line 79 of /index.php: call to bootstrap_renderer->header()

      I think the context should be set to the parent context of the block.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                samhemelryk Sam Hemelryk
                Reporter:
                dougiamas Martin Dougiamas
                Tester:
                Nobody
                Participants:
                Component watchers:
                Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  24/Nov/10