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

JS error in the form.js: TypeError: names[name].push is not a function

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 3.0.5, 3.1.1
    • 3.0.4, 3.1, 3.2
    • Forms Library
    • MOODLE_30_STABLE, MOODLE_31_STABLE, MOODLE_32_STABLE
    • MOODLE_30_STABLE, MOODLE_31_STABLE
    • MDL-54778-master
    • Hide
      1. Merge the appropriate branch from:

        git://github.com/andrewnicols/moodle.git MDL-54778-master-mocha
        git://github.com/andrewnicols/moodle.git MDL-54778-31-mocha
        git://github.com/andrewnicols/moodle.git MDL-54778-30-mocha
        

      2. Run `grunt mocha`
      3. Check through generate coverage file
      4. Full behat run
      5. Smoke test of forms all over moodle (wtih JS console open)
      Show
      Merge the appropriate branch from: git://github.com/andrewnicols/moodle.git MDL-54778-master-mocha git://github.com/andrewnicols/moodle.git MDL-54778-31-mocha git://github.com/andrewnicols/moodle.git MDL-54778-30-mocha Run `grunt mocha` Check through generate coverage file Full behat run Smoke test of forms all over moodle (wtih JS console open)

    Description

      1. Create a course and manually enrol several students
      2. Go to Course administration>Users>Enrolled users
      3. Filter users by the manual enrolment method
      4. Select a student and select to edit from bulk action menu
      5. Open JS console - there is a JS error on this page

      Discovered while writing behat tests for MDL-31012 - behat fails saying "Javascript code and/or AJAX requests are not ready after 10 seconds. There is a Javascript error or the code is extremely slow. (Exception)"

      Attachments

        Issue Links

          Activity

            People

              dobedobedoh Andrew Lyons
              marina Marina Glancy
              Rajesh Taneja Rajesh Taneja
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Rajesh Taneja Rajesh Taneja
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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