Fix STUD-1316

This bug affected unpublishing content (and would trigger an error
message in studio). The fix was to uncouple the rendering of the studio_view
of an xblock with the student_view, so that content that wasn't in
draft mode already wouldn't be modified by early rendering of the
studio_view.

[STUD-1316]
This commit is contained in:
Calen Pennington
2014-02-18 14:15:19 -05:00
parent ab938c094b
commit 1eec47a604
11 changed files with 170 additions and 92 deletions

View File

@@ -258,12 +258,6 @@ def verify_high_level_source_links(step, visible):
msg="Expected not to find the latex button but it is present.")
world.cancel_component(step)
if visible:
assert_true(world.is_css_present('.upload-button'),
msg="Expected to find the upload button but it is not present.")
else:
assert_true(world.is_css_not_present('.upload-button'),
msg="Expected not to find the upload button but it is present.")
def verify_modified_weight():