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

Grade item and activity deletion webservice should warn when item is used in calculation formula

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.3.5
    • Gradebook
    • MOODLE_403_STABLE

      When we call those webservices if item is used in calculation formula we are breaking it. So we need to warn a user of the consequences - at least return a warning or smth

      For example this delete_modules() -  see https://github.com/moodle/moodle/blob/main/course/externallib.php#L2386 - it doesn't check if grade items are used in custom gradebook calculation formulas

            Unassigned Unassigned
            ilyatregubov Ilya Tregubov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

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