File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,6 +16,12 @@ Please See the [releases tab](https://github.com/openedx/xblock-lti-consumer/rel
1616Unreleased
1717~~~~~~~~~~
1818
19+ =======
20+ 7.0.1 - 2022-11-29
21+ ------------------
22+
23+ Fix LtiConfiguration clean method to look only at location so that it can work in environments that cannot load the block.
24+
19257.0.0 - 2022-11-29
2026------------------
2127* Refactor anonymous user to real user rebinding function to use `rebind_user ` service.
Original file line number Diff line number Diff line change 44from .apps import LTIConsumerApp
55from .lti_xblock import LtiConsumerXBlock
66
7- __version__ = '7.0.0 '
7+ __version__ = '7.0.1 '
Original file line number Diff line number Diff line change @@ -240,8 +240,7 @@ def clean(self):
240240 "config_store" : _ ("LTI Configuration stores on XBlock needs a block location set." ),
241241 })
242242 if self .version == self .LTI_1P3 and self .config_store == self .CONFIG_ON_DB :
243- block = compat .load_enough_xblock (self .location )
244- if not database_config_enabled (block .scope_ids .usage_id .context_key ):
243+ if not database_config_enabled (self .location .course_key ):
245244 raise ValidationError ({
246245 "config_store" : _ ("LTI Configuration stores on database is not enabled." ),
247246 })
You can’t perform that action at this time.
0 commit comments