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

Automatically creating categories for modules with multiple grade_items

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.9
    • 1.9
    • Gradebook
    • None
    • MOODLE_19_STABLE
    • 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

              nicolasconnault Nicolas Connault
              skodak Petr Skoda
              Nobody Nobody
              Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3/Mar/08