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

Edit activity name inline does not update activity grade item

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.3.3
    • None
    • Gradebook
    • MOODLE_23_STABLE
    • Hide

      Use the normal activity edit form.

      Show
      Use the normal activity edit form.
    • Hide
      • Create a graded activity, like an assignment
      • Confirm that the assignment has a grade item in the gradebook
      • Edit an activity name using the edit title widget (inline editing)
      • The grade item in the gradebook should reflect the new name.
      Show
      Create a graded activity, like an assignment Confirm that the assignment has a grade item in the gradebook Edit an activity name using the edit title widget (inline editing) The grade item in the gradebook should reflect the new name.

    Description

      If you edit an activity's name with the inline editing (new edit title widget) then the associated activity grade item name is not updated.

      Normally the grade item is updated through "modname_grade_item_update" callback, though I don't know if it is appropriate to call this here. The alternative is to try to update the grade item directly, though I do believe it is possible for an activity to have multiple grade items.

      Attachments

        Issue Links

          Activity

            People

              andyjdavis Andrew Davis
              bushido Mark Nielsen
              Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: