You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 14, 2026. It is now read-only.
We're encountering an import error when accessing the Feedback tab in the instructor dashboard on Open edX platforms running Sumac or later.
Root Cause
The error is triggered by the get_lms_link_for_item import introduced in this commit in 2023. This function, indirectly imports a model that doesn't exist in the LMS context:
get_lms_link_for_item →
cms/djangoapps/contentstore/toggles.py →
openedx.core.djangoapps.content.search.api →
SearchAccess (model)
The SearchAccess model was introduced in this commit in 2024, but the content.search app is not included in INSTALLED_APPS in the LMS. As a result, attempting to import this chain within the XBlock causes the LMS to fail when rendering the instructor dashboard's Feedback tab.
Description:
We're encountering an import error when accessing the Feedback tab in the instructor dashboard on Open edX platforms running Sumac or later.
Root Cause
The error is triggered by the
get_lms_link_for_itemimport introduced in this commit in 2023. This function, indirectly imports a model that doesn't exist in the LMS context:get_lms_link_for_item→cms/djangoapps/contentstore/toggles.py→openedx.core.djangoapps.content.search.api→SearchAccess(model)The
SearchAccessmodel was introduced in this commit in 2024, but thecontent.searchapp is not included inINSTALLED_APPSin the LMS. As a result, attempting to import this chain within the XBlock causes the LMS to fail when rendering the instructor dashboard's Feedback tab.Proposed Fix
openedx/openedx-platform#36802
two potential solutions were considered:
try/exceptblock — similar to how it was handled when the model was first introduced openedx/openedx-platform@d672110#diff-95b1d167a319870ade835b889d600b6e46a5fcc44b127c421ee03f8a5719f36eR12content.searchapp to the LMS'sINSTALLED_APPS.Steps to Reproduce