Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toast Message Only Appearing Once and Incorrect File Name Retained After Second CSV Upload Failure #448

Open
Adameddy26 opened this issue Sep 18, 2024 · 1 comment
Assignees
Labels
bug Something isn't working hacktoberfest

Comments

@Adameddy26
Copy link

Adameddy26 commented Sep 18, 2024

Note

Same issue can be replicated in EXIM of Fulfillment App, Import App.

Current behavior

The toast message only appears after the first failed upload attempt.
After the second failed attempt, the first file's name remains in the field instead of updating to the second file.

Expected behavior

A toast message should be generated for every failed upload attempt, regardless of how many files are uploaded.
After the second failed upload, the name of the second file should appear in the file upload field.

Steps to reproduce the issue

Navigate to the 'Draft Bulk' page.
Upload an incorrect CSV file (which should fail).
Observe that a toast message is displayed indicating the upload failure.
Now, upload another incorrect CSV file.
Observe that no toast message is generated for the second failed attempt.
Check the file name field and observe that the name of the first file still appears instead of the second file.

Environment details

App version : v2.1.0
App environment : UAT

Additional Information

https://jam.dev/c/a3d20694-5d80-4001-83d6-89ec44ad9bf3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working hacktoberfest
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants