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

JS error on expanding empty courses node

XMLWordPrintable

    • MOODLE_26_STABLE
    • MOODLE_25_STABLE, MOODLE_26_STABLE
    • 43675-27
    • Easy
    • Hide
      1. On a site with courses test that the "Courses" branch in the navigation expands as expected and contains courses.
      2. Install a fresh site (do not create any courses).
      3. Try to expand the "Courses" branch in the navigation.
      4. Check you get the empty branch icon (outline arrow) and no JS errors.
      Show
      On a site with courses test that the "Courses" branch in the navigation expands as expected and contains courses. Install a fresh site (do not create any courses). Try to expand the "Courses" branch in the navigation. Check you get the empty branch icon (outline arrow) and no JS errors.

      In an installation which doesn't yet have any courses, expanding the courses navigation node gives an error:

      SyntaxError
      File: http://localhost/moodle/theme/yui_combo.php?rollup/3.13.0/yui-moodlesimple.js&rollup/1389647934/mcore-debug.js
      Line: 37340

      To reproduce:

      1. Install Moodle (tested on 2.7dev (Build: 20140110))
      2. Log in as admin and try to expand the courses node in the navigation block

      The underlying Ajax response is "No further information available for this branch"

            samhemelryk Sam Hemelryk
            maherne Michael Aherne
            Mark Nelson Mark Nelson
            Damyon Wiese Damyon Wiese
            Andrew Davis Andrew Davis
            Votes:
            0 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.