File tree Expand file tree Collapse file tree
cms/djangoapps/contentstore/views Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -204,12 +204,12 @@ def _prepare_runtime_for_preview(request, block):
204204 # Studio ModuleStoreRuntimes, then add it to load_services_for_studio.
205205 # HISTORICAL CONTEXT: Until Ulmo, the `block.runtime._services.update(service)` call below would
206206 # actually update the services dictionary for all runtimes, as `_services` was aliased between them.
207- # This caused a grading bug, under certain conditions, so it was fixed
207+ # This caused a grading bug, under certain conditions, so it was fixed
208208 # in https://github.com/openedx/openedx-platform/pull/37825; now, every runtime gets a fresh,
209209 # independent copy of `_services`. That's good, except that some Studio code had become dependent
210210 # on the bugged behavior and thus expected the "preview" services below to be present in all Studio runtimes.
211211 # We fixed the known instance of that bugged assumption here: https://github.com/openedx/openedx-platform/pull/37900.
212- # This comment is left here as a note for future devs investigating similar bugs.
212+ # This comment is left here as a note for future devs investigating similar bugs.
213213 services = {
214214 "studio_user_permissions" : StudioPermissionsService (request .user ),
215215 "i18n" : XBlockI18nService ,
You can’t perform that action at this time.
0 commit comments