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

JS error on enrolling students from cohort

    XMLWordPrintable

    Details

    • Testing Instructions:
      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
    • Affected Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE
    • Pull Master Branch:
      wip-MDL-46525-master

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                marina Marina Glancy
                Reporter:
                marina Marina Glancy
                Peer reviewer:
                David Monllaó
                Integrator:
                Sam Hemelryk
                Tester:
                Andrew Nicols
                Participants:
                Component watchers:
                Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Jake Dallimore, Jun Pataleta
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  8/Sep/14