From 121f9b973ce955baf4f1baabb1a5fdc761339ffb Mon Sep 17 00:00:00 2001 From: Maxim Beder Date: Mon, 8 Apr 2024 17:33:18 +0200 Subject: [PATCH] fix: add InheritanceMixin to list of mixins of XBlockRuntime --- openedx/core/djangoapps/xblock/runtime/runtime.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openedx/core/djangoapps/xblock/runtime/runtime.py b/openedx/core/djangoapps/xblock/runtime/runtime.py index 2339cbf8e1d4..4d25de2aa204 100644 --- a/openedx/core/djangoapps/xblock/runtime/runtime.py +++ b/openedx/core/djangoapps/xblock/runtime/runtime.py @@ -25,6 +25,7 @@ from xmodule.errortracker import make_error_tracker from xmodule.contentstore.django import contentstore from xmodule.modulestore.django import XBlockI18nService +from xmodule.modulestore.inheritance import InheritanceMixin from xmodule.services import EventPublishingService, RebindUserService, ProblemFeedbackService from xmodule.util.sandboxing import SandboxService from common.djangoapps.edxmako.services import MakoService @@ -124,6 +125,7 @@ def __init__( mixins=( LmsBlockMixin, # Adds Non-deprecated LMS/Studio functionality XBlockShim, # Adds deprecated LMS/Studio functionality / backwards compatibility + InheritanceMixin, ), default_class=None, select=None,