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

JavaScript error in assignment upgrade tool

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3.1, 2.4
    • 2.3.2
    • Assignment
    • MOODLE_23_STABLE, MOODLE_24_STABLE
    • MOODLE_23_STABLE
    • Hide

      None required.

      Show
      None required.
    • Hide
      1. goto /admin/tool/assignmentupgrade/listnotupgraded.php
      2. click on the button "upgrade all assignments"
      3. There should be no javascript errors in the console and you should be taken to a confirm page.
      4. goto /admin/tool/assignmentupgrade/listnotupgraded.php
      5. click on the button "upgrade selected assignments" without selecting any assignments
      6. There should be an alert: "No assignments selected" and you should stay on the same page.
      Show
      goto /admin/tool/assignmentupgrade/listnotupgraded.php click on the button "upgrade all assignments" There should be no javascript errors in the console and you should be taken to a confirm page. goto /admin/tool/assignmentupgrade/listnotupgraded.php click on the button "upgrade selected assignments" without selecting any assignments There should be an alert: "No assignments selected" and you should stay on the same page.

    Description

      Replication steps:

      1. goto /admin/tool/assignmentupgrade/listnotupgraded.php
      2. click on the button "upgrade all assignments"

      check console for an error something like :-
      Timestamp: 15/08/12 14:16:51
      Error: TypeError: M.str.assign is undefined
      Source File: http://127.0.0.1/int/master/moodle/lib/javascript.php?rev=1345010974&jsfile=%2Fadmin%2Ftool%2Fassignmentupgrade%2Fmodule.js
      Line: 1

      Attachments

        Issue Links

          Activity

            People

              damyon Damyon Wiese
              ankit_frenz Ankit Agarwal
              Aparup Banerjee Aparup Banerjee
              David Monllaó David Monllaó
              Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/Sep/12