Assigning multiple rubric items in quick succession leads to white page
If I use the shortcuts to quickly assign multiple grading items in one go (e.g. I hit 1 2 3 4
on my keyboard in rapid succession), the page sometimes goes to white. EDIT: Actually it feels like it happens more frequently when I use the arrow keys + space bar, but that might just be a feeling (as I can imagine the underlying behaviour is the same for both use cases).
Next time this happens I hope to have the network tab of my console open and will update this issue with more details ;)
Got it:
NavBar.jsx?e3b9:148 Uncaught (in promise) TypeError: Cannot read property 'submissions' of undefined
at NavBar.render (NavBar.jsx?e3b9:148)
at finishClassComponent (react-dom.development.js?61bb:14695)
at updateClassComponent (react-dom.development.js?61bb:14650)
at beginWork (react-dom.development.js?61bb:15598)
at performUnitOfWork (react-dom.development.js?61bb:19266)
at workLoop (react-dom.development.js?61bb:19306)
at renderRoot (react-dom.development.js?61bb:19389)
at performWorkOnRoot (react-dom.development.js?61bb:20296)
at performWork (react-dom.development.js?61bb:20208)
at performSyncWork (react-dom.development.js?61bb:20182)
And the server says:
[PYTHON] pony.orm.core.UnrepeatableReadError: Value of Solution.graded_at for Solution[Submission[22],Problem[5]] was updated outside of current transaction (was: datetime.datetime(2019, 3, 21, 15, 49, 31, 851449), now: datetime.datetime(2019, 3, 21, 15, 49, 32, 674871))
Edited by Stefan Hugtenburg