[OPEN] src attribute on audio tags in rich text content are not updated during course copy

Canvas

Engineers are currently investigating the issue.

Description

When rich text content contains an audio tag where the src attribute is pointing to a course file and that content is copied between course, the src attribute is not updated to point to the migrated file in the destination course for the copy.

Expected Behavior

Instead the src attribute on audio tags should be updated during course copies when it is pointing to a course file.

Workaround

No workaround exists at this time.

Steps to Reproduce

Prerequisites: Two courses and an audio file.

  1. Upload the audio file to the course files in one of the courses.

  2. In the course with the audio file create a page and set the HTML on the page to the below, substituting the course and file id for :course_id and :file_id

    <p><audio src="/courses/:course_id/files/:file_id/download" controls="controls">Your browser does not support the audio file</audio></p>
  3. Copy the course with the file and page into the other course using the Copy a Canvas Course option on the Import Content page.

  4. Check the HTML of the imported page and note that the src attribute on the audio tag is still pointing to the file in the original course.

Additional Info

LF-1565


Known issues indicate notable behaviors that have been escalated to the Canvas engineering team. Known issues are not a guarantee for an immediate resolution. This document is for informational purposes only and does not replace the Support process. If you are encountering the behavior outlined in this document, please ensure you have submitted a Support case (per your institution's escalation process) so Canvas Support can adequately gauge the overall customer impact and prioritize appropriately.

Labels (1)
Tags (1)