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

Restoring calendar events does not reformat the content links

XMLWordPrintable

    • MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • MOODLE_25_STABLE, MOODLE_26_STABLE
    • MDL-43460-master
    • Hide

      Test 1

      1. Create a course
      2. Add the calendar block
      3. Click on the title of the calendar block and create a new course event
        • In its description, add a link to the current course
      4. Create a new lesson module
      5. Create a new assignment with a due date
        • In the assignment description, add a link to the lesson module you just created
      6. You should now have 2 events in the course calendar
      7. Backup the course
      8. Restore as a new course
      9. View the restored events
        • Confirm that each events has links pointing to the restored course/activity

      Test 2

      1. Create an assignment with a due date
        • In the assignment description, add a link to this course
      2. Backup the assignment only (not the course)
      3. Restore the assignment into another course
      4. Confirm that the restored event points to the right course
      Show
      Test 1 Create a course Add the calendar block Click on the title of the calendar block and create a new course event In its description, add a link to the current course Create a new lesson module Create a new assignment with a due date In the assignment description, add a link to the lesson module you just created You should now have 2 events in the course calendar Backup the course Restore as a new course View the restored events Confirm that each events has links pointing to the restored course/activity Test 2 Create an assignment with a due date In the assignment description, add a link to this course Backup the assignment only (not the course) Restore the assignment into another course Confirm that the restored event points to the right course

      If you include a link course/view.php?id=n into a calendar event, and then backup the course it is converted to $@SOMETHING*3@$. But upon restore the calendar events are not reprocessed which means that the links are broken.

      1. Create a new course event
      2. In its description, add a link to the current course
      3. Backup the course
      4. Restore as a new course
      5. View the restored event

      Actual

      • The link is now broken

      Expected

      • The link leads to the new course

            fred Frédéric Massart
            fred Frédéric Massart
            Mark Nelson Mark Nelson
            Damyon Wiese Damyon Wiese
            Petr Skoda Petr Skoda
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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