Skip to content

Commit

Permalink
fix: ajax call used for attempt status throws fewer 500s
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Hughes authored and matthugs committed Feb 11, 2021
1 parent d54479e commit 35a8523
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion edx_proctoring/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion edx_proctoring/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 35a8523

Please sign in to comment.