hypothesis / lms

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

Allow Canvas Studio collections without names #6352

Closed sentry-io[bot] closed 3 months ago

sentry-io[bot] commented 3 months ago

The Canvas Studio video picker complains if video collections don't have names, which is apparently possible.

Slack thread: https://hypothes-is.slack.com/archives/C2C2U40LW/p1718200286726359?thread_ts=1718196805.409049&cid=C2C2U40LW Sentry: https://hypothesis.sentry.io/issues/5482070247/?project=259908&query=is%3Aunresolved+issue.priority%3A%5Bhigh%2C+medium%5D&referrer=issue-stream&stream_index=0

robertknight commented 3 months ago

The JSON output is truncated in Sentry, but the full log was available in Papertrail. The entry causing the issue is:

{"id":2594,"name":null,"type":"course_wide","permission":"edit","created_at":"2022-01-26T14:21:20Z","course_id":11969,"owner":null}

Unfortunately we can't get a useful name for this collection from the data in this response alone.