Discussions imported from export packages created before sort_order was added to exports give page error on access

Issue Documented: 2025-06-25
Canvas

This behavior has been resolved and deployed to the production environment as of 6/18/25.

Description

When a discussion is imported from an IMSCC package where the sort_order is not included (any Canvas course exported before the 2025-06-18 deploy for example) the sort_order will be set to f resulting in a page error when accessing the discussion.

Expected Behavior

Instead the sort_order should be set to the default when it is not present in an imported IMSCC package.

Workaround

The sort_order for the discussion can be updated via API to set it to one of the valid values of desc or asc

Steps to Reproduce

Prerequisites: An IMSCC file containing a discussion where the sort_order has not been set (example file attached).

  1. Import the IMSCC file into the course Content Type set to Canvas Course Export Package on the Import Content page for the course)

  2. Access the discussion created by the import.

  3. Note that you get a page error and two error reports are generated

Additional Info

VICE-5344


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)