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

Edit activity name inline does not update activity grade item

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.3.3
    • Fix Version/s: None
    • Component/s: Gradebook
    • Labels:
    • Testing Instructions:
      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.
    • Workaround:
      Hide

      Use the normal activity edit form.

      Show
      Use the normal activity edit form.
    • Affected Branches:
      MOODLE_23_STABLE

      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

              Assignee:
              andyjdavis Andrew Davis
              Reporter:
              bushido Mark Nielsen
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: