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

Automatically creating categories for modules with multiple grade_items

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9
    • Component/s: Gradebook
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      The problem with grade_create_category() is that it breaks the idea that modules should not know about the gradebook implementation. Direct access to grade categories might cause problems later.

      Solution A:

      • add idnumber to grade categories
      • add new parameter to grade_update $category=null which would specify requested category idnumber, name and aggregation
        We should not IMHO use category id /internal implementation) or name (might change) - the id could solve the identification problem

      Solution B:

      • remove grade categories from API - modules could not specify them
      • use new "Grading" tab in module editing page - similar to roles overrides; mods would not know about this code, teachers could administer all grade items attached to mod there

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  3/Mar/08