Staff catalog does not display record summary for bibs with no metarecord source map
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
New
|
Undecided
|
Unassigned |
Bug Description
EG 3.11+
In the staff catalog, if you retrieve a bib record has no entry in metabib.
open-ils.
Can't call method "metarecord" on an undefined value at /usr/local/
Here's one possible way to reproduce the issue:
1. Ensure the ingest.
2. Delete a record. This will remove metarecord mappings for the record from metabib.
3. Reload the record by refreshing the page or retrieving the record in a new tab.
Changed in evergreen: | |
assignee: | nobody → Jeff Davis (jdavis-sitka) |
tags: | added: staffcatalog |
Working branch user/jeffdavis/ lp2039229- record- summary- without- metarecord- mapping has a potential fix:
https:/ /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ jeffdavis/ lp2039229- record- summary- without- metarecord- mapping
Test plan:
1. Ensure the ingest. metarecord_ mapping. preserve_ on_delete internal flag is set to false. metarecord_ source_ map.
2. Delete a record. This will remove metarecord mappings for the record from metabib.
3. In the staff catalog, reload the record by refreshing the page or retrieving the record in a new tab. The record summary table does not display.
4. Apply the fix and restart EG.
5. Repeat step 3. The record summary should now appear correctly.