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

Ajax quick edit of activity name does not update the calendar event name

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Add each of the modules to a course and set the start / finish / due dates to this month.
      2. Add the calendar block to the course.
      3. Observe which modules produce events in the calendar.
      4. Use the inline editing to change the name of a module.
      5. Refresh the page and check that the name in the calendar has been changed as well.
      6. Duplicate a module and check that the calendar now has an entry for the duplicated module.
      Show
      Add each of the modules to a course and set the start / finish / due dates to this month. Add the calendar block to the course. Observe which modules produce events in the calendar. Use the inline editing to change the name of a module. Refresh the page and check that the name in the calendar has been changed as well. Duplicate a module and check that the calendar now has an entry for the duplicated module.
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_30_STABLE, MOODLE_31_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      wip-MDL-41174-master
    • Sprint:
      3.2 Sprint 5

      Description

      Using the ajax quick edit of an activity name does not also update the corresponding calendar event name if a due date was applied.

      Current behaviour:
      1. Create an assignment with a due date into the future, and confirm after save that the assignment appears in the course calendar and upcoming events.
      2. Do a 'quick edit' to change the assignment name (using ajax)
      3. Check the calendar and upcoming events and note that the event name has not been changed. A page refresh (F5) doesn't resolve anything.

      Expected result:
      I would expect that the calendar event would have the title updated automatically. If the title of the assignment was changed via the traditional method (full edit - not ajax), then the event title is properly updated.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                abgreeve Adrian Greeve
                Reporter:
                mcwoods Michael Woods
                Peer reviewer:
                Marina Glancy
                Integrator:
                David Monllaó
                Tester:
                Mark Nelson
                Participants:
                Component watchers:
                Damyon Wiese, Adrian Greeve, Mihail Geshoski, Peter Dias, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze, Jake Dallimore, Jun Pataleta, Ryan Wyllie, Dan Marsden, Jake Dallimore, Jun Pataleta, Ryan Wyllie, Jake Dallimore, Jun Pataleta, Ryan Wyllie, Tim Hunt, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze, Amaia Anabitarte, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                10 Vote for this issue
                Watchers:
                14 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  12/Sep/16