getTypeById -> getAllTypes is called for every question in a pool
Description
Environment
None
Test Plan
None
Attachments
1
- 17 Sep 2016, 11:28 AM
depends on
Activity
Show:
Sam Ottenhoff October 3, 2016 at 3:15 PM
This is working well on nightly2
Fixed
Details
Details
Assignee
Sam Ottenhoff
Sam OttenhoffReporter
Sam Ottenhoff
Sam OttenhoffComponents
Affects versions
Priority
Created September 17, 2016 at 11:26 AM
Updated April 17, 2018 at 8:40 AM
Resolved September 29, 2016 at 10:31 AM
SAM-1139 introduced an odd getAllTypes "hack" in TypeFacadeQueries.java here:
https://github.com/sakaiproject/sakai/commit/59788afa31c0ca84af3aa7a4bf1c3d112df0a82f
The effect was that the entire SAM_TYPE_T table was called for every single question in a pool.....