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

'Add 2 grade conditions to form' loses url parameters

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_23_STABLE

      Description

      1. Enable the course conditions (enableavailability) setting
      2. Add a page resource
      3. In the form click 'Add 2 grade conditions to form' (or hit enter... unexpected behaviour too?)
      4. The page URL has now lost its parameters, and this error is displayed 6 times.

      Invalid array parameter detected in required_param(): page
      line 592 of /lib/moodlelib.php: call to debugging()
      line 48 of /repository/wikimedia/lib.php: call to optional_param()
      line 907 of /repository/lib.php: call to repository_wikimedia->__construct()
      line 2549 of /repository/lib.php: call to repository::get_instances()
      line 311 of /lib/form/editor.php: call to initialise_filepicker()
      line 183 of /lib/pear/HTML/QuickForm/Renderer/Tableless.php: call to MoodleQuickForm_editor->toHtml()
      line 2384 of /lib/formslib.php: call to HTML_QuickForm_Renderer_Tableless->renderElement()
      line 403 of /lib/pear/HTML/QuickForm/element.php: call to MoodleQuickForm_Renderer->renderElement()
      line 1631 of /lib/pear/HTML/QuickForm.php: call to HTML_QuickForm_element->accept()
      line 1414 of /lib/formslib.php: call to HTML_QuickForm->accept()
      line 1674 of /lib/pear/HTML/QuickForm.php: call to MoodleQuickForm->accept()
      line 435 of /lib/pear/HTML/Common.php: call to HTML_QuickForm->toHtml()
      line 204 of /lib/pear/HTML/QuickForm/DHTMLRulesTableless.php: call to HTML_Common->display()
      line 896 of /lib/formslib.php: call to HTML_QuickForm_DHTMLRulesTableless->display()
      line 658 of /course/modedit.php: call to moodleform->display()

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                fred Frédéric Massart
                Participants:
                Component watchers:
                Sam Marshall, Jake Dallimore, Jun Pataleta, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: