mitodl / rapid-response-xblock

a django app plug-in for edx-platform
BSD 3-Clause "New" or "Revised" License
0 stars 2 forks source link

toggle_block_open_status can create multiple open runs at once #55

Closed noisecapella closed 6 years ago

noisecapella commented 6 years ago

I found this behavior by binding a click handler multiple times to the same button and clicking it, triggering simultaneous requests. The problem then fails to close because a get_or_create call fails, finding two open runs