Fetching user group info on deleted users creates unnecessary load
Bug #1281750 reported by
Bill Erickson
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
High
|
Unassigned | ||
2.4 |
Fix Released
|
High
|
Unassigned | ||
2.5 |
Fix Released
|
High
|
Unassigned |
Bug Description
Evergreen 2.4+
When a user is purged, the user is put into usergroup "0". This results in a large, unbounded collection of users within a single group. Not a big deal, until the staff client attempts to load data for every user within the group, which happens if a purged user is accessed in the staff client and the "group member details" tab is opened.
First noticed when "open-ils.
Patch forthcoming to exit early from usergroup info API calls when usergroup == 0
tags: | added: 2.6-rc-blocker |
Changed in evergreen: | |
assignee: | nobody → Dan Wells (dbw2) |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hmm, actually, a better solution would be to limit the user search calls to users which are not deleted. It looks like that was an oversight from early on. 2 birds / one stone.