Code editor sometimes disappear after validation or server error
Every now and then we get a report about a programming answer that was lost after saving/submitting/running a programming submission. The code editor then disappeared form the screen.
In those cases, we could not trace back what happened, nor could we reproduce the issue.
We now know that this issue arises when there is a validation error or server error from which WebLab cannot recover. In that case the submitted form gets replaced, but the code editors don’t get initialized correctly after that.
Fix the initialisation of the editors, so it does render the editors correctly again after a failed action.Submitted by Elmer van Chastelet on 1 June 2022 at 11:13
Log in to post comments