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

Problem in mod/quiz/edit.php causing some debugging to happen

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.3
    • 4.3
    • Quiz
    • MOODLE_403_STABLE
    • MOODLE_403_STABLE
    • Hide
      1. Log in as admin
      2. Create a course
      3. Create a quiz activity in the course
      4. Navigate to quiz Question bank
      5. Use Create a new question to create a couple of questions
      6. Navigate back to Quiz
      7. Press Add question
      8. Press Add > A random question
      9. In the subsequent dialogue, press New category
        • Name: Something
      10. Press Create category and add random question
      11. Confirm a new Random question based on filter condition question was added
      12. Confirm there is no debugging in webserver error log like the following:

        Debugging: This page did not call $PAGE->set_url(...)
        

      Show
      Log in as admin Create a course Create a quiz activity in the course Navigate to quiz Question bank Use Create a new question to create a couple of questions Navigate back to Quiz Press Add question Press Add > A random question In the subsequent dialogue, press New category Name: Something Press Create category and add random question Confirm a new Random question based on filter condition question was added Confirm there is no debugging in webserver error log like the following: Debugging: This page did not call $PAGE->set_url(...)

      This was detected as part of MDL-79317

      This debugging has been detected in the web server logs, it happens 2 times (surely one per run, because the logs included both boost and classic logs).

      At the time of creating this, it has not been discovered which exact scenario is causing the debugging to happen.

      199314:[Thu Sep 28 08:52:54.772987 2023] [php:notice] [pid 5293] [client 172.26.0.6:51398] Debugging: This page did not call $PAGE->set_url(...). Using http://webserver17f5ca134fe22e5b/behatrun2/lib/ajax/service.php?sesskey=cwxOvsYeNe&info=mod_quiz_add_random_questions in
      * line 679 of /lib/pagelib.php: call to debugging()
      * line 967 of /lib/pagelib.php: call to moodle_page->magic_get_url()
      * line 106 of /lib/listlib.php: call to moodle_page->__get()
      * line 87 of /question/bank/managecategories/classes/question_category_list.php: call to moodle_list->__construct()
      * line 126 of /question/bank/managecategories/classes/question_category_object.php: call to qbank_managecategories\\question_category_list->__construct()
      * line 109 of /question/bank/managecategories/classes/question_category_object.php: call to qbank_managecategories\\question_category_object->initialize()
      * line 118 of /mod/quiz/classes/external/add_random_questions.php: call to qbank_managecategories\\question_category_object->__construct()
      * line ? of unknownfile: call to mod_quiz\\external\\add_random_questions::execute()
      * line 253 of /lib/external/classes/external_api.php: call to call_user_func_array()
      * line 83 of /lib/ajax/service.php: call to core_external\\external_api::call_external_function()
      * , referer: http://webserver17f5ca134fe22e5b/behatrun2/mod/quiz/edit.php?cmid=109000
      

      Apparently this is a new problem in 4.3dev (master right now), but worth checking if also is happening in previous branches.

            pholden Paul Holden
            stronk7 Eloy Lafuente (stronk7)
            Carlos Escobedo Carlos Escobedo
            Tim Hunt Tim Hunt
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 21 minutes
                1h 21m

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