Total number of records is changed in the "Preview of record matched", "Errors" accordion after uploading CSV file and clicking "Cancel" button

Description

Overview: When User is doing bulk edit of Users (CSV approach) and submits a file with both valid and invalid identifiers - after uploading modified file and clicking "Cancel" button in "Bulk edit" modal the total number of records in the "Preview of record matched", "Errors" accordion is changed to the number of records in modified file

Steps to Reproduce:

  1. Log FOLIO as User with the following permissions: Bulk Edit: (CSV) View, Bulk Edit (CSV) Edit, Users: Can view user profile

  2. Go to "Bulk edit" app => "Identifier" toggle is selected

  3. Select "Users" radio button under "Record types" accordion

  4. Select "User Barcodes" in "Record identifier" dropdown

  5. Click "or choose file" in "Drag and drop" area => Upload file with both valid and invalid identifiers

  6. Notice the total number of records mentioned under "Errors" accordion

  7. Click "Actions" menu button => "Download matched records (CSV)"

  8. Click "Actions" menu button => "Start bulk edit (CSV)"

  9. Click "or choose file" in "Drag and drop" area => Upload .csv file from step 7

  10. Click "Cancel" button

  11. Notice the total number of records mentioned under "Errors" accordion

  12. Click "Actions" menu button

  13. Notice the total number of records mentioned under "Errors" accordion

Expected Results: The total number of records mentioned under "Errors" accordion remains the same and in accordance with the total number of records in the initially submitted file
Actual Results: The total number of records mentioned under "Errors" accordion is changed to the total number of records in modified file
Additional Information:
URL:
Interested parties:

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

7

Checklist

hide

TestRail: Results

Activity

Show:

Yauheniya Kryshtafovich June 2, 2023 at 2:45 PM

Hi, and
The issue was verified on Snapshot, works as expected:
1. Upload file with both valid and invalid identifiers for Bulk edit => Click "Actions" menu button => "Start bulk edit (CSV)" => Click "Cancel" button
The total number of records mentioned under "Errors" accordion stay the same: The total number of records mentioned under "Errors" accordion remains the same and in accordance with the total number of records in the initially submitted file

Firdavs Mukhammadsidikov June 1, 2023 at 10:11 AM

Verification on Rancher env:

Before uploading a file:

 

 

After uploading a file, clicking cancel and then clicking actions button:

Done

Details

Assignee

Reporter

Labels

Priority

Story Points

Sprint

Development Team

Release

RCA Group

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created April 28, 2023 at 6:23 AM
Updated August 1, 2023 at 9:10 PM
Resolved June 2, 2023 at 7:21 PM
TestRail: Cases
TestRail: Runs