Exam ticket registrations page loading slowly or fails to load during exam with many students
Caused by updating each submission object with updated
lastSavedAtwhich is computed for this page.
Fix: Only derive new
lastSavedAtvalue without persisting it. This avoids locking on the submission objects which caused multiple (failing) attempts to render the page by Stale State Object exceptions.
Also: add prefetches for lazy loaded collections used on the page to reduce number of queries by a factor 2.Submitted by Elmer van Chastelet on 4 November 2022 at 08:20