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

After duplicating a module grade category is missing

XMLWordPrintable

    • MOODLE_25_STABLE, MOODLE_28_STABLE
    • MOODLE_27_STABLE, MOODLE_28_STABLE
    • Hide
      Test 1
      1. Visit a course.
      2. Add a category to the gradebook.
      3. Add an assignment and set the 'Grade category' to the one you just created.
      4. Duplicate the assignment.
      5. Visit the 'Categories and items' screen in the gradebook.
      6. Check that the duplicated assignment is in the same category as the other.
      7. Backup the original assignment.
      8. Restore it into a new course.
      9. Check that the assignment in the new course does not have a grade category set.
      Show
      Test 1 Visit a course. Add a category to the gradebook. Add an assignment and set the 'Grade category' to the one you just created. Duplicate the assignment. Visit the 'Categories and items' screen in the gradebook. Check that the duplicated assignment is in the same category as the other. Backup the original assignment. Restore it into a new course. Check that the assignment in the new course does not have a grade category set.

      If you duplicate an assignment every single setting (name, dates, type, number of submissions, max submission size, grade, ...) is being duplicated within the new assignment, but the grade category. This seems to be the only setting that is missing when you duplicate an assignment.
      In my opinion it is at least as sensible to copy the grade category as to copy the grade itself.

      Is there a specific reason why the grade category isn't being copied, that I miss?

      How to reproduce?

      • add a category within the gradebook
      • add an assignment
      • change the grade and choose the previously added category as grade category
      • duplicate the assignment
      • check the missing grade category within the settings of the new assignment

            andrew_dc_hancox Andrew Hancox
            katpot Katarzyna Potocka
            Mark Nelson Mark Nelson
            David Monllaó David Monllaó
            Dave Cooper Dave Cooper
            Votes:
            9 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved:

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