Embedded copy attrs eats acq and actor drones
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
New
|
High
|
Unassigned |
Bug Description
Seen on our production server after our 3.10 upgrade, and I've checked it against a master server.
In acq/lineitem/
Because copy-attrs is embedded into the PO, if you do an ExpandAll to show all of your line item details, it will call open-ils.actor open-ils.
On a test PO that I created on my test server, I had 3 line items with 5 copies each. So doing Expand All resulted in 45 actor calls.
Because this is eating up all our actor drones, we're getting whitescreens for everyone so I'm setting this bug's priority to High.
I have a patch that just simply removes these perm checks from the org select and the shelving location select. With patch installed, no extraneous actor calls just from expanding line items. I don't think there should be an access issue with doing that, since I think if you've gotten that far into the PO then you've already passed essential checks like VIEW_PURCHASE_
tags: | added: pullrequest |
summary: |
- Combobox perm checks spamming actor drones + Embedded copy attrs eats acq and actor drones |
tags: | added: parallel-requests |
Changed in evergreen: | |
assignee: | Tiffany Little (tslittle) → nobody |
Patch: https:/ /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ tlittle/ LP2003973_ Permchecks_ acqcopyattrs