Unfortunately, because of this, the 'figures/api/courses/general/' URL path in Figures is not safe. It should probably be changed to something like figures/api/courses-general/
The result on my test site is that the info taken from CourseOverview like the course name and start date don't appear in the Single Course view.
I am seeing 500 errors calling /courses/general/course-v1:... for the courses-general API
The API call isn't even getting processed by the DRF view, as it errors out in middlewares which interpret
/general/course-v1:...
as a course id.For example, this traceback:
Track middleware uses
COURSE_REGEX
defined in util.request (Hawthorn) or request_utils (Juniper+) to check for a match, yielding:Unfortunately, because of this, the 'figures/api/courses/general/' URL path in Figures is not safe. It should probably be changed to something like figures/api/courses-general/
The result on my test site is that the info taken from CourseOverview like the course name and start date don't appear in the Single Course view.