Angular check out, items out, check in, and renew grids are not loading on 3_12 and main
Bug #2044051 reported by
Dan Briem
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Critical
|
Unassigned |
Bug Description
The Angular check out, items out, check in, and renew grids are not loading for me on main and 3.12. There is a NullInjectorError console error for VolCopyService. This seems similar to the holdings grid not loading in bug 2043437.
The problem appears to be that CopyAlertsDialo
Bug 2043437 addressed the CopyAlertsDialo
Changed in evergreen: | |
milestone: | none → 3.12-rc |
Changed in evergreen: | |
assignee: | nobody → Galen Charlton (gmc) |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I thought I'd also mention, VolCopyModule is tricky to import into other modules. Its VolCopyRoutingM odule has very liberal route parameters that could unexpectedly hijack router outlets with VolCopyComponent. Also, CopyAlertsDialo gComponent is declared and exported in HoldingsModule, which is imported in even more modules, so we may end up with more injection errors down the road.
Maybe we could provide VolCopyService and the dependent HoldingsService in root instead of providing them in their corresponding modules. They cache/memoize, but at first glance they don't appear to have mutable local state, with the possible exception of the current VolCopyContext on VolCopyService.
Or, I guess we could drop the dependence on VolCopyService in CopyAlertsDialo gComponent and perform the ServerStoreService lookup for the item alert type when the dialog opens.