cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Previewing Direct Shared content across trust accounts throws error (part 3?)

Previewing Direct Shared content across trust accounts throws error (part 3?)

Canvas white logo

This behavior has been completed but has not yet been deployed to the production environment. The date of the deploy will be added here when available.

Known issues indicate notable behaviors that has 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.
Description

 

With accounts setup in a Trust, when Teacher X (native to instance 1) attempts Direct Share content from a Course that was created in instance 1 to Teacher Y (native to instance 2), Teacher Y will not be able to preview the shared content in instance 2.

The send to function works as intended. However, when Teacher Y tries to preview the content, they receive a "No 'Access-Control-Allow-Origin' header is present on the requested resource" error in the console. Importing the shared content to the course works just fine.

Expected Behavior


Teachers native to one instance should be able to preview content shared from another instance as long as they are in a trust.

Workaround


No workaround exists at this time.

Steps to Reproduce

 

  • Two instances(X & Y) setup in a Trust with the Direct Share Feature Flag enabled in both

  • One user in instance 1 (Teacher X) and one user in instance 2 (Teacher Y)

  • Two courses (A & B) in instance 1 with Teacher X enrolled in course A and Teacher Y enrolled in course B (Allows them to be searchable across the instances)

  • Two courses (C & D) in instance 2 with Teacher X enrolled in course C and Teacher Y enrolled in course D

  1. As Teacher X, log into Canvas via instance 1

  2. From your Dashboard, navigate to Course A and create a Page(any Direct Share-able content works)

  3. On the created page, use Direct Share via the "Send To..." option and search for Teacher Y

  4. Click the "Share" option, share to Teacher Y

  5. As Teacher Y, navigate to your Shared Content, open DevTools, and attempt to preview that new content

  6. Notice that you're presented with a blank page and the Console errors

 

Additional Info


LS-1517