Web Client: entering user surveys UI causes proliferation of pcrud drones
Bug #1728122 reported by
Chris Sharp
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
High
|
Unassigned | ||
2.12 |
Fix Released
|
High
|
Unassigned |
Bug Description
In the 3.0.0 web client, entering Other -> Surveys within a patron account causes a permission check on every response to any survey the user has answered. This appears to be because of the way the fix for bug 1511358 was developed, which uses a pcrud call to flesh the values of all surveys, survey questions, and survey responses associated with the user. See the IRC discussion at http://
This presents an issue that blocks go-live for PINES on the web client.
Evergreen 3.0.0
OpenSRF 3.0.0
PostgreSQL 9.5
Ubuntu 16.04 LTS
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
After some further investigation, I can confirm that the current survey code fleshes the responses of any patron who has answered each survey answered by the current user. I'm not sure what the correct solution is though, and I would appreciate eyes from more experienced Angular/JS developers about what should be done.