diff --git a/openassessment/__init__.py b/openassessment/__init__.py index c2c752235d..4add7b2a1a 100644 --- a/openassessment/__init__.py +++ b/openassessment/__init__.py @@ -2,4 +2,4 @@ Initialization Information for Open Assessment Module """ -__version__ = '5.5.2' +__version__ = '5.5.3' diff --git a/openassessment/workflow/test/test_workflow_batch_update_api.py b/openassessment/workflow/test/test_workflow_batch_update_api.py index 5a787dd3b2..7444fd751b 100644 --- a/openassessment/workflow/test/test_workflow_batch_update_api.py +++ b/openassessment/workflow/test/test_workflow_batch_update_api.py @@ -427,3 +427,6 @@ def get_item(self, block_key): return MockCourseBlock(False) return None + + def get_course(self, block_key): + return self.get_item(block_key) diff --git a/openassessment/workflow/workflow_batch_update_api.py b/openassessment/workflow/workflow_batch_update_api.py index c920dc92a6..c62bbb9076 100644 --- a/openassessment/workflow/workflow_batch_update_api.py +++ b/openassessment/workflow/workflow_batch_update_api.py @@ -316,7 +316,7 @@ def get_workflow_update_data(peer_workflows): if peer_workflow.course_id not in course_settings_cache: # retrieve course block from DB course_block_key = CourseKey.from_string(peer_workflow.course_id) - course_block = store.get_item(course_block_key) + course_block = store.get_course(course_block_key) # add course settings to temp cache course_settings_cache[peer_workflow.course_id] = { 'force_on_flexible_peer_openassessments': course_block.force_on_flexible_peer_openassessments} diff --git a/package.json b/package.json index 767616cf3d..efcb278461 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "edx-ora2", - "version": "5.5.2", + "version": "5.5.3", "repository": "https://github.com/openedx/edx-ora2.git", "dependencies": { "@edx/frontend-build": "^6.1.1",