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

Restored course has broken links in assignment description when viewed from calendar event

XMLWordPrintable

    • MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • MOODLE_25_STABLE, MOODLE_26_STABLE
    • MDL-42995-master-3rd
    • Hide

      Access the file from the Assignment module page rather than from the Calendar.

      Show
      Access the file from the Assignment module page rather than from the Calendar.
    • Hide
      1. Create a new assignment with a due date (it must be created with the right description in one step!)
        • In the description of the assignment add a local picture (upload, private files, ...)
      2. Confirm that the assignment description has the correct picture
      3. Go to the calendar and confirm that the due date event does not contain the picture (check the HTML, sometimes a missing pictures is hard to spot)
      4. Now update the assignment description
      5. Place one more image in the description
      6. Save and confirm that the due date calendar event does not contain the picture (check the HTML, sometimes a missing pictures is hard to spot)
      Show
      Create a new assignment with a due date (it must be created with the right description in one step!) In the description of the assignment add a local picture (upload, private files, ...) Confirm that the assignment description has the correct picture Go to the calendar and confirm that the due date event does not contain the picture (check the HTML, sometimes a missing pictures is hard to spot) Now update the assignment description Place one more image in the description Save and confirm that the due date calendar event does not contain the picture (check the HTML, sometimes a missing pictures is hard to spot)
    • 8
    • FRONTEND Sprint 7

      When an assignment description contains an embedded file or a link to a file and that assignment appears in the Calendar block (because it has a due date), the embedded file or link to a file breaks when that course is backed up and restored to a new course.

      Steps to reproduce:

      1. Create a course.
      2. Add an assignment, add a file (e.g., an image) to the description or create a link in the description to an existing resource (e.g., PDF document), and set a due date for the assignment.
      3. Add the Calendar block to the course.
      4. Backup the course and restore it elsewhere on the site (be sure to include user data).
      5. Enroll a user into the restored-to course.
      6. As the enrolled user, load the assignment in the restored course. The embedded file or the link work.
      7. Still as the enrolled user, go back to the course page and use the Calendar block to click on the due date and then the assignment link.
      8. The embedded image or the link in the assignment description here is broken.

      Expected result: The files in the description should not be broken. Since the assignment description on the assignment page is correct, the calendar page should also be correct.

      Actual result: The assignment page is correct but the calendar page has broken links.

            fred Frédéric Massart
            cfollin Chris Follin
            Andrew Davis Andrew Davis
            Dan Poltawski Dan Poltawski
            Petr Skoda Petr Skoda
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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