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

Calendar event restore - does not restore events with same date, description

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.8.1, 1.9
    • 1.8
    • Backup
    • None
    • Any
    • MOODLE_18_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE

      When restoring a calendar event it checks whether the event exists by using the course ID, time, and description fields. If there are two events on the same day, this means that 'description' is the only distinguishing field.

      This caused a minor confusion for me while testing (I had used the description 'x' for two events), but will cause more serious problems if we allow blank descriptions. Blank descriptions can happen particularly if calendar events are imported from another system that does not provide descriptions, so it's mainly an integration issue.

      I am changing it so that the check also includes 'name'. (If you have two events on the same day/time with the same name AND description then... well... that's not really two events, is it? So hopefully that is enough.)

            quen Sam Marshall
            quen Sam Marshall
            Nobody Nobody
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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