Flagged
Done
Details
Assignee
Oleksandr BozhkoOleksandr BozhkoReporter
Tatsiana HryhoryevaTatsiana HryhoryevaPriority
P2Story Points
3Sprint
NoneDevelopment Team
FirebirdFix versions
Release
Ramsons (R2 2024) Bug FixRCA Group
TBDTestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Oleksandr Bozhko
Oleksandr BozhkoReporter
Tatsiana Hryhoryeva
Tatsiana HryhoryevaPriority
Story Points
3
Sprint
None
Development Team
Firebird
Fix versions
Release
Ramsons (R2 2024) Bug Fix
RCA Group
TBD
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created October 16, 2024 at 12:46 PM
Updated December 11, 2024 at 11:30 AM
Resolved November 20, 2024 at 9:12 PM
Overview:
When commit changes related to bulk edit of MARC fields the data import job is running. As the result of DI job the following could happen:
Instance is updated without error
Instance is updated with error
Instance is not updated
Based on the outcome of DI job the Preview of record changed and Errors should be populated on Confirmation screen in Bulk edit app
In current implementation regardless the outcome of DI job all Instances are included in the Preview of record changed. Also, in current implementation not all errors from DI are displayed in Errors on Confirmation screen. If error from DI is displayed, associated record identifier is not always displayed
Steps to Reproduce:
Instance is not updated by DI, e.g.
Find or create MARC Instance with duplicated SRS, prepare file with that MARC Instance UUID
Go to “Bulk edit“ app
Select “Inventory - instances“ record type
Select “Instance UUIDs“ record identifier
Click “or choose file“ button => Upload prepared file with MARC Instance UUID
Click “Actions“ > “Instances with source MARC (POC)“
Select any options/actions to edit MARC fields of Instance records (e.g. add 500 field)
Click “Confirm changes“
Click “Commit changes“
Expected Results:
On Confirmation screen of Bulk edit app the record is not displayed in the Preview of record changed and is not included in .mrc file. Identifier of such record is displayed in “Errors“ with the reason for the error provided by DI
Actual Results:
On Confirmation screen of Bulk edit app the record is displayed as updated in the Preview of record changed
Record is not always displayed in “Errors“
If record is displayed in “Errors“, record identifier is not always displayed
Additional scenarios in scope of this ticket:
If Instance is updated by DI with error this is expected on Confirmation screen of Bulk edit app the record is displayed in the Preview of record changed and is included in .mrc file. Identifier of such record is displayed in “Errors“ with the reason for the error provided by DI.
If Instance is updated by DI without error this is expected on Confirmation screen of Bulk edit app the record is displayed in the Preview of record changed and is included in .mrc file.
The issue described in https://folio-org.atlassian.net/browse/MODBULKOPS-375 is to be addressed in scope of current ticket:
when do bulk edit of MARC Instance with duplicated SRS, “Something went wrong” error appears on Confirmation screen, and link to download file is present in “Actions“ (however MARC Instance is not updates and Preview is empty as expected)
Acceptance criteria:
Logic with displaying DI errors is implemented
Logic to prevent downloading empty committed .mrc file is implemented
Karate test is created to cover path with failed records