External Grader fails to submit

Description

In MIT's 6.00.1x, external graders are failing to submit on the first attempt. When a learner hits submit, the problem resets and is not submitted. This appears to only occur when the text is still being edited when Submit is pressed. Example problems:

https://courses.edx.org/courses/course-v1:MITx+6.00.1x+2T2018/courseware/fc8f42302c644118adfcfa720f9f403e/35f82f6c3ecb4e9e913dc279a9b73a9f/13?activate_block_id=block-v1%3AMITx%2B6.00.1x%2B2T2018%2Btype%40discussion%2Bblock%402f7f3a49e1734495885987663de60f39

Steps to reproduce:

1. Enter any text in the code grader window
2. Hit submit
3. Observe that the problem resets and still displays "Unanswered"
4. Refresh the page and enter text in the window again
5. Hit tab or escape
6. Submit
7. Observe that the problem is submitted

It looks like our system doesn't accept the submission while it is technically being edited. Is this expected behavior? Is there a way that we can not accept the submission while it's being edited without resetting/removing all process?

Steps to Reproduce

None

Current Behavior

None

Expected Behavior

None

Reason for Variance

None

Release Notes

None

User Impact Summary

None

Assignee

Awais Jibran

Reporter

Nick Finn

Labels

Reach

None

Impact

None

Platform Area

None

Customer

None

Partner Manager

None

URL

None

Contributor Name

None

Groups with Read-Only Access

None

Story Points

None

Actual Points

None

Category of Work

None

Platform Map Area (Levels 1 & 2)

None

Platform Map Area (Levels 3 & 4)

None

Priority

N/A
Configure