Skip to content

CourseOverview.DoesNotExist #291

Description

@sentry

A missing CourseOverview should not crash the dashboard page. The error should be clearly logged, but the learner should still be able to load their dashboard.

Sentry Issue: OPENEDX-RESIDENTIAL-44A

CourseOverview.DoesNotExist: 
(14 additional frame(s) were not displayed)
...
  File "main.html.py", line 325, in render_body
    __M_writer(filters.decode.utf8(self.body()))
  File "dashboard.html.py", line 225, in render_body
    course_overview = CourseOverview.get_from_id(enrollment.course_id)
  File "openedx/core/lib/cache_utils.py", line 74, in decorator
    result = wrapped(*args, **kwargs)
  File "openedx/core/djangoapps/content/course_overviews/models.py", line 401, in get_from_id
    return course_overview or cls.load_from_module_store(course_id)
  File "openedx/core/djangoapps/content/course_overviews/models.py", line 343, in load_from_module_store
    raise cls.DoesNotExist()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions