Fix PureSystem so that runtime.publish() works for a pure XBlock.
Fix extracted from https://github.com/edx/edx-platform/pull/6035.
This commit is contained in:
committed by
Calen Pennington
parent
61ba910255
commit
2faff29a21
@@ -609,6 +609,10 @@ class SplitTestDescriptor(SplitTestFields, SequenceDescriptor, StudioEditableDes
|
||||
|
||||
Called from Studio view.
|
||||
"""
|
||||
user_service = self.runtime.service(self, 'user')
|
||||
if user_service is None:
|
||||
return Response()
|
||||
|
||||
user_partition = self.get_selected_partition()
|
||||
|
||||
changed = False
|
||||
|
||||
Reference in New Issue
Block a user