Bulk edit of MARC fields job is not completed without User to have Confirmation screen opened while committing changes

Description

Overview:
Bulk edit of MARC fields for the large amount of records (~100.000) takes time to commit changes. In current implementation while committing changes UI requests are sent to check if DI job was completed. As the result, bulk edit job can’t be completed without User to have Confirmation screen opened while committing changes.

The issue was reproduced when for the large number of records (82.345) bulk edit of MARC fields was done. “Commit changes“ button was clicked, and after some time User saved the link to open “Confirmation screen“ and switched off the computer. On the next day when User opened saved link - only then bulk edit job was completed after some time

Steps to Reproduce:

  1. Go to “Bulk edit“ app

  2. Select “Inventory - instances“ record type

  3. Select “Instance UUIDs“ record identifier

  4. Click “or choose file“ button => Upload file with large amount (~100.000) of MARC Instances UUIDs

  5. Click “Actions“ > “Instances with source MARC (POC)“

  6. Select any options/actions to edit MARC fields of Instance records (e.g. add 500 field)

  7. Click “Confirm changes“

  8. Click “Commit changes“

Expected Results:

Bulk edit job is completed in background without User to have Confirmation screen opened while committing changes

Actual Results:

Bulk edit job is not completed without User to have Confirmation screen opened while committing changes

Approach:

There are 2 possible ways how to avoid this problem.

  1. Workaround. Implementing polling mechanism to retrieve status of importing until it will be completed. And automatically start preparing preview after importing completion.

  2. Right way. Implement notification mechanism on data-import side and handle notification on mod-bulk-operations side to start preview preparation.

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

11

Checklist

hide

Activity

Show:

Tatsiana HryhoryevaJanuary 23, 2025 at 3:05 PM

Hi ,

Verified on https://folio-snapshot.dev.folio.org/ (split is disabled), https://folio-testing-sprint-cs00000int.ci.folio.org/ (split is enabled) environments, works as expected

Bulk edit job is completed in background without User to have Confirmation screen opened while committing changes

Please be aware that verification was done by Admin User due to

For the issue with errors the following ticket opened

Tatsiana HryhoryevaJanuary 7, 2025 at 5:31 AM
Edited

On https://folio-testing-sprint-cs00000int.ci.folio.org/ environment bulk edit jobs are not completed when do bulk edit, MARC flow. Need to be re-checked after properly verified

Oleksandr BozhkoJanuary 3, 2025 at 10:27 AM

Verified on environment:
1. Upload 3k MARC instances :

  1. Add 500 field:

  2. Commit changes and close the browser.

  3. Wait until data import job is completed and check the status of bulk operation:

  4. Also verify logs: to make sure “Received event from DI:" is present.

Viachaslau KhandramaiNovember 13, 2024 at 12:05 PM

This story should be verified after completion.

Cannot Reproduce

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Firebird

Release

Sunflower (R1 2025)

RCA Group

TBD

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created November 5, 2024 at 8:57 AM
Updated January 28, 2025 at 7:42 AM
Resolved January 23, 2025 at 9:48 PM
TestRail: Cases
TestRail: Runs