Angular MARC import: import operations from inspect queue can fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Medium
|
Unassigned | ||
3.6 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When starting from a Inspect Queue from a bib queue in the Angular MARC Import, operations like 'Import Selected Record' can fail. Specifically, after selecting a record and clicking the link, the import tab is displayed but without the relevant queue showing as selected. Attempting to complete the would fail with the following error message:
ERROR TypeError: this.selectedQueue is undefined
I traced this back to an issue with the combobox component. The combobox for the queue is passed both entries and a startId, e.g.,
<eg-combobox [entries]
<eg-combobox
As it happens, entries gets set first, then startId... but the setter for entries expects that startId has a value in order to apply the default selection correctly. I observed that switching the order of the startId and entries attributes can fix the problem.
Unfortunately, we cannot count on that per (e.g.):
https:/
https:/
Consequently, while it may be worth doing a quick fix to change the order of the attributes and see if that works on supported browsers, it looks like we may need to write an ngOnChanges handler for combobox.
Evergreen 3.6+
Changed in evergreen: | |
importance: | Undecided → Medium |
tags: | added: angular cataloging |
description: | updated |
Changed in evergreen: | |
assignee: | nobody → Bill Erickson (berick) |
Changed in evergreen: | |
assignee: | nobody → Christine Morgan (cmorgan-z) |
tags: | added: signedoff |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
Well, combobox already has an OnChanges handler, so we're part of the way there.