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

Debugging on my home (assignment bug)

XMLWordPrintable

    • MOODLE_27_STABLE
    • MOODLE_26_STABLE, MOODLE_27_STABLE
    • MDL-46044-master
    • Hide

      Run unit tests for mod_assign on all databases (yes really).

      Create an assignment that allows multiple attempts
      As a student add a submission to the assignment
      As a teacher grade it and "Allow another attempt"
      As the same student, start a new attempt based on the previous one
      Save the new attempt
      Go to "my home" as a student
      Verify there is no debugging
      Go to "my home" as a teacher
      Verify there is no debugging

      Show
      Run unit tests for mod_assign on all databases (yes really). Create an assignment that allows multiple attempts As a student add a submission to the assignment As a teacher grade it and "Allow another attempt" As the same student, start a new attempt based on the previous one Save the new attempt Go to "my home" as a student Verify there is no debugging Go to "my home" as a teacher Verify there is no debugging

      I think this is related to an assignment with multiple attempts.

      Did you remember to make the first column something unique in your call to get_records? Duplicate value '13' found in column 'assignment'.
      line 791 of /lib/dml/pgsql_native_moodle_database.php: call to debugging()
      line 457 of /mod/assign/lib.php: call to pgsql_native_moodle_database->get_records_sql()
      line 43 of /blocks/course_overview/locallib.php: call to assign_print_overview()
      line 75 of /blocks/course_overview/block_course_overview.php: call to block_course_overview_get_overviews()
      line 294 of /blocks/moodleblock.class.php: call to block_course_overview->get_content()
      line 236 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
      line 993 of /lib/blocklib.php: call to block_base->get_content_for_output()
      line 1045 of /lib/blocklib.php: call to block_manager->create_block_contents()
      line 361 of /lib/outputrenderers.php: call to block_manager->ensure_content_created()
      line 45 of /theme/clean/layout/columns3.php: call to core_renderer->standard_head_html()
      line 877 of /lib/outputrenderers.php: call to include()
      line 807 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
      line 167 of /my/index.php: call to core_renderer->header()
      Did you remember to make the first column something unique in your call to get_records? Duplicate value '13' found in column 'assignment'.
      line 791 of /lib/dml/pgsql_native_moodle_database.php: call to debugging()
      line 457 of /mod/assign/lib.php: call to pgsql_native_moodle_database->get_records_sql()
      line 43 of /blocks/course_overview/locallib.php: call to assign_print_overview()
      line 75 of /blocks/course_overview/block_course_overview.php: call to block_course_overview_get_overviews()
      line 294 of /blocks/moodleblock.class.php: call to block_course_overview->get_content()
      line 236 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
      line 993 of /lib/blocklib.php: call to block_base->get_content_for_output()
      line 1045 of /lib/blocklib.php: call to block_manager->create_block_contents()
      line 361 of /lib/outputrenderers.php: call to block_manager->ensure_content_created()
      line 45 of /theme/clean/layout/columns3.php: call to core_renderer->standard_head_html()
      line 877 of /lib/outputrenderers.php: call to include()
      line 807 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
      line 167 of /my/index.php: call to core_renderer->header()

            damyon Damyon Wiese
            damyon Damyon Wiese
            Andrew Davis Andrew Davis
            Dan Poltawski Dan Poltawski
            Mark Nelson Mark Nelson
            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.