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

JS error on enrolling students from cohort

XMLWordPrintable

    • MOODLE_26_STABLE, MOODLE_27_STABLE
    • MOODLE_26_STABLE, MOODLE_27_STABLE
    • wip-MDL-46525-master
    • Hide
      1. Create cohorts with users
      2. Go to course enrolment page (as admin), click "Enrol cohort"
      3. Choose cohort and enrol students by clicking the "Enrol users" button from it
      4. Make sure there are no errors and the alert "OK" button is focused
      Show
      Create cohorts with users Go to course enrolment page (as admin), click "Enrol cohort" Choose cohort and enrol students by clicking the "Enrol users" button from it Make sure there are no errors and the alert "OK" button is focused

      1. Create cohorts with users
      2. Go to course enrolment page (as admin), click "Enrol cohort"
      3. Choose cohort and enrol students from it

      TypeError: Cannot read property 'focus' of null
          at Y.io.on.complete (http://marina.moodle.local/master/theme/yui_combo.php?m/-1/enrol_cohort/quickenrolment/quickenrolment-debug.js:295:90)
          at Y.Subscriber._notify (http://marina.moodle.local/master/theme/yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:13680:35)
          at Y.Subscriber.notify (http://marina.moodle.local/master/theme/yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:13709:24)
          at Y.CustomEvent._notify (http://marina.moodle.local/master/theme/yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:13372:17)
          at Y.CustomEvent._procSubs (http://marina.moodle.local/master/theme/yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:13498:36)
          at Y.CustomEvent.fireSimple (http://marina.moodle.local/master/theme/yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:13465:18)
          at Y.CustomEvent._fire (http://marina.moodle.local/master/theme/yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:13447:29)
          at Object.ET.fire (http://marina.moodle.local/master/theme/yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:14600:22)
          at Object.IO._evt (http://marina.moodle.local/master/theme/yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:23686:21)
          at Object.IO.complete (http://marina.moodle.local/master/theme/yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:23722:14)
      

      Reproduced on all supported versions

            marina Marina Glancy
            marina Marina Glancy
            David Monllaó David Monllaó
            Sam Hemelryk Sam Hemelryk
            Andrew Lyons Andrew Lyons
            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.