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

Feedback causing slow retrival of scales in gradebook.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.9.16
    • 1.9.5
    • Feedback
    • None
    • MySQL
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE

      Getting this error:

      • line 263 of lib/grade/grade_scale.php: call to debugging()
      • line 121 of grade/edit/scale/index.php: call to grade_scale->is_used()

      Please notify the developer of module "feedback" that new function module_scale_used_anywhere() should be implemented.

      Put following function into /mod/feedback/lib.php and has fixed problem.

      /**

      • Checks if scale is being used by any instance of feedback
        *
      • This is used to find out if scale used anywhere
      • @param $scaleid int
      • @return boolean True if the scale is used by any forum
        */
        function feedback_scale_used_anywhere($scaleid) {

      if ($scaleid and record_exists('feedback', 'scale', -$scaleid))

      { return true; }

      else

      { return false; }

      }

      Regards,

      Troy

            grabs Andreas Grabs
            twilliams Troy Williams
            Votes:
            4 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.