-
Notifications
You must be signed in to change notification settings - Fork 95
Open
Labels
bugReport of or fix for something that isn't working as intendedReport of or fix for something that isn't working as intended
Description
Release: Maple
Relevant settings: ENABLE_COMPREHENSIVE_THEMING=True
LTI consumer settings:
- LTI version: 1.3
- Enable LTI NRPS: True
- Deep linking: True
- LTI Assignment and Grades Service: Programmatic
- Everything else: True
We have configured an LTI 1.3 producer using PyLTI1p3 library (using the Django example).
The connection works fine, however when the tool uses the Assignment and Grades service or Names and Roles service, every time it sends a requests to our Maple instance, it triggers a 500 due to missing user at https://github.com/edx/edx-platform/blob/4f49475b94a61c3290c1813f5272277b7986b06c/openedx/core/djangoapps/dark_lang/middleware.py#L159
The error is:
AttributeError
'NoneType' object has no attribute 'is_authenticated'
openedx/core/djangoapps/dark_lang/middleware.py in _activate_preview_language at line 165
openedx/core/djangoapps/dark_lang/middleware.py in process_response at line 102
django/utils/deprecation.py in __call__ at line 119
django/core/handlers/exception.py in inner at line 47
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugReport of or fix for something that isn't working as intendedReport of or fix for something that isn't working as intended
Type
Projects
Status
Backlog