hypothesis / lms

LTI app for integrating with learning management systems
BSD 2-Clause "Simplified" License
45 stars 14 forks source link

Handle Canvas Studio collections with null `name` field #6353

Closed robertknight closed 1 month ago

robertknight commented 1 month ago

We previously found cases where collections had an empty name, but it turns out the name field can be null as well. Adjust the validation schema to allow for this. Unfortunately there isn't another field in the same response that contains an alternative name, so just generate a fallback for now.

Fixes https://github.com/hypothesis/lms/issues/6352.