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

Cancelling feedback throws an error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.3
    • 3.3
    • Feedback
    • MOODLE_33_STABLE
    • MOODLE_33_STABLE
    • wip-MDL-58502-master
    • Hide
      1. Create a feedback (1) on the front page, add a question
      2. Create a course
      3. Add block feedback to the course
      4. Create a feedback (2) in the course, set completion "require view", add a question
      5. As a student go to the course, open each of the feedbacks (one will be on the course page and another inside the block)
      6. click "Answer the questions" and then "Cancel" - make sure you are redirected to the course where you were
      7. make sure feedback is marked as complete
      8. go to the front page and click on the feedback name there
      9. click "Answer the questions" and then "Cancel" - make sure you are redirected to the front page
      Show
      Create a feedback (1) on the front page, add a question Create a course Add block feedback to the course Create a feedback (2) in the course, set completion "require view", add a question As a student go to the course, open each of the feedbacks (one will be on the course page and another inside the block) click "Answer the questions" and then "Cancel" - make sure you are redirected to the course where you were make sure feedback is marked as complete go to the front page and click on the feedback name there click "Answer the questions" and then "Cancel" - make sure you are redirected to the front page

      answer feedback questions and click Cancel

      Debug info: SELECT format FROM {course} WHERE id = ?
      [array (
      0 => 0,
      )]
      Error code: invalidrecord
      ×Stack trace:
      line 1615 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
      line 1591 of /lib/dml/moodle_database.php: call to moodle_database->get_field_select()
      line 176 of /course/format/lib.php: call to moodle_database->get_field()
      line 35 of /course/format/lib.php: call to format_base::instance()
      line 3181 of /course/lib.php: call to course_get_format()
      line 691 of /mod/feedback/classes/completion.php: call to course_get_url()
      line 95 of /mod/feedback/complete.php: call to mod_feedback_completion->process_page()
      Continue
      
      

            marina Marina Glancy
            marina Marina Glancy
            David Mudrák (@mudrd8mz) David Mudrák (@mudrd8mz)
            Dan Poltawski Dan Poltawski
            Simey Lameze Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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