diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 86b0da3fe14..de16961c3a4 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -14,6 +14,10 @@ Change Log Unreleased ~~~~~~~~~~ +[3.2.1] - 2021-02-11 +~~~~~~~~~~~~~~~~~~~~ +* bugfix to 500 errors from proctored exam attempt status endpoint used by the LMS to drive timer functionality + [3.2.0] - 2021-02-10 ~~~~~~~~~~~~~~~~~~~~ * Update to update_attempt_status function to account for multiple attempts per exam diff --git a/edx_proctoring/__init__.py b/edx_proctoring/__init__.py index 91fe135b88f..81a0a0c3ae0 100644 --- a/edx_proctoring/__init__.py +++ b/edx_proctoring/__init__.py @@ -3,6 +3,6 @@ """ # Be sure to update the version number in edx_proctoring/package.json -__version__ = '3.2.0' +__version__ = '3.2.1' default_app_config = 'edx_proctoring.apps.EdxProctoringConfig' # pylint: disable=invalid-name diff --git a/edx_proctoring/views.py b/edx_proctoring/views.py index 08bffd21102..2e68e9651b0 100644 --- a/edx_proctoring/views.py +++ b/edx_proctoring/views.py @@ -885,7 +885,8 @@ def get(self, request): # pylint: disable=unused-argument 'exam_type': ( _('a timed exam') if not attempt['taking_as_proctored'] else (_('a proctored exam') if not attempt['is_sample_attempt'] else - (_('an onboarding exam') if provider.supports_onboarding else _('a practice exam'))) + (_('an onboarding exam') if (provider and provider.supports_onboarding) else + _('a practice exam'))) ), 'exam_display_name': exam['exam_name'], 'exam_url_path': exam_url_path, diff --git a/package.json b/package.json index b1ba4cde4e5..4ef8211db2e 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@edx/edx-proctoring", "//": "Be sure to update the version number in edx_proctoring/__init__.py", "//": "Note that the version format is slightly different than that of the Python version when using prereleases.", - "version": "3.2.0", + "version": "3.2.1", "main": "edx_proctoring/static/index.js", "repository": { "type": "git",