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

Duplicate Product Records Created When Same Bulk Count File Is Uploaded Multiple Times #456

Open
Adameddy26 opened this issue Sep 19, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Adameddy26
Copy link

Adameddy26 commented Sep 19, 2024

Note

Screenshot from 2024-09-19 15-31-50

We have this description text present on UI but this is useful only when user is trying to upload the CSV having duplicate records of products. This message doesn't cover the case where the file with unique records is uploaded multiple times.

Current behavior

Each upload of the same bulk count file results in duplicate product records being created for a count.

Expected behavior

The system should recognize that the same bulk count file has been uploaded and prevent duplicate product records from being created.

Steps to reproduce the issue

Navigate to the 'Bulk Count' page.
Upload a bulk count file with product records.
Without making any changes, upload the same file again.
Observe that the product records are created as duplicates for the count mentioned in CSV.

Environment details

App version : v2.1.0
App environment : UAT

Additional information

https://jam.dev/c/e3074243-7893-494b-a1ed-7aae1f986872
https://jam.dev/c/95872c2b-49ba-4677-b99c-f4eab3aa2f0d

@Adameddy26 Adameddy26 added the bug Something isn't working label Sep 19, 2024
@dt2patel
Copy link
Contributor

I believe this is expected behavior, because user is not giving unique id, system will always create new count. If that is the scenario you're talking about, then please close the ticket.

@Adameddy26
Copy link
Author

I believe this is expected behavior, because user is not giving unique id, system will always create new count. If that is the scenario you're talking about, then please close the ticket.

Let’s assume a CSV file has been created with 3 records, where the count name is TEST, the facility ID is STORE_14, and the SKUs are SKU1, SKU2, and SKU3.
If the same file is uploaded again via bulk upload, or if a count with the same name and facility ID is created manually (without bulk upload), the system may result in a successful upload, but the count could end up containing duplicate products.

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

No branches or pull requests

2 participants