Visibility attributes not updated when ingest.reingest.force_on_same_marc flag is enabled

Bug #1798910 reported by Jeff Davis on 2018-10-19
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evergreen
Medium
Unassigned

Bug Description

EG 3.0+

If the ingest.reingest.force_on_same_marc flag is enabled, visibility attributes are not updated like you might expect when a record is modified. In particular, this includes additions or modifications to located URIs: if you add a new record with a located URI scoped to SYS1, for example, the record will not appear in SYS1 search results.

The reason is that the asset.cache_copy_visibility db function can't update bre.vis_attr_vector in this scenario without causing a trigger loop. This is a known issue, and there is a warning about it in the upgrade notes:
http://docs.evergreen-ils.org/3.0/_evergreen_3_0_3.html

But the warning is easy to miss. Since this behavior is unexpected and a few EG admins have run afoul of it, I am opening a bug report.

Ideally, we'd find a way to update bib vis attrs without getting stuck in a loop. At a minimum, increased awareness of the current behavior (e.g. by having an open bug report to point to) is helpful.

Dan Wells (dbw2) on 2018-10-23
Changed in evergreen:
status: New → Confirmed
Dan Wells (dbw2) wrote :

Ran into this issue within the last week. Thanks for filing this, Jeff. I'd love to see this fixed somehow, as the current outcome is surprising.

See also bug #1730758 for history of this behavior.

Dan Wells (dbw2) on 2019-02-07
Changed in evergreen:
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers