Suppressing from discovery MARC instances makes records also staff suppressed

Description

While bulk editing MARC instances by setting discovery suppress flag to true and updating MARC fields, then not only discovery suppress flag is set to true but also the staff suppressed flag is set to true. The issue does not occur if only administrative data is edited. For more details refer to Additional information section. Removing dates is covered in

Steps to recreate:

  1. Trigger bulk edit of MARC instances by submitting a list of identifiers or by running a query

  2. On the bulk edit form, set Suppress from discovery to true and add 500 note under MARC fields:

  3. Click “Confirm changes” button and “Are you sure?” form displays the changes correctly (staff suppress is not set to true):

  4. Commit the changes

  5. Navigate to inventory and verify through search if the records are suppressed from discovery and the general note is added

Expected behavior:

Actual behavior:

All the records affected by bulk edit are suppressed from discovery and staff suppressed:

 

Additional information:

Looking at the job edit history, I see several jobs edits:

  1. First - updating Discovery suppress flag correctly (this is the instance record edit)

  2. Second - adding general note (this is the SRS record edit). This edit job also modifies staff suppress flag and adds Date1 and date type

  3. Third - removes Date1 and Date type (also SRS record edit)

Different scenarios checked when edit administrative data along with marc fields, the issue with changing “Staff suppress“ value to the opposite one happens when Instance has the same values for “Suppress from discovery“ and “Staff suppress“ (both false, or both true).

Also, issue with remove Date type, Date 1, & Date 2 fields is reproduced in Sunflower and Ramsons. Issue with changing “Staff suppress“ value to the opposite value is reproduced in Sunflower.

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

7

Checklist

hide

Activity

Show:

Yevhen Manziuk last week

Hi

Ticket verified on Sunflower consortium testing env. Now only suppressed from discovery field changing after bulk edit operation.

cc:

Kuzma Rezchenko April 8, 2025 at 7:06 AM

The mod-inventory (v 21.1.1) has been successfully deployed to the Sunflower Eureka Bugfest environment.

You may now proceed with testing.

Kuzma Rezchenko April 8, 2025 at 7:05 AM

The mod-inventory (v 21.1.1) has been successfully deployed to the Sunflower Eureka Bugfest environment.

You may now proceed with testing.

Maksym Ishchenko April 7, 2025 at 11:06 AM

Hi

Ticket verified on EUREKA snapshot env. Now only suppressed from discovery field changing after bulk edit operation. Moving ticket further

cc:

Done

Details

Assignee

Reporter

Priority

Story Points

Development Team

Folijet

Fix versions

Release

Sunflower (R1 2025) Bug Fix

RCA Group

Implementation coding issue

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created March 19, 2025 at 9:15 PM
Updated last week
Resolved April 7, 2025 at 11:17 AM
TestRail: Cases
TestRail: Runs