hotwax / inventory-count

HotWax Commerce Inventory Count
Apache License 2.0
16 stars 52 forks source link

Unable to Save Bulk Count CSV Mapping with Only Mandatory Fields #457

Open Adameddy26 opened 4 weeks ago

Adameddy26 commented 4 weeks ago

Note

  1. If a saved mapping is used and bulk count file is uploaded successfully then for the next attempt, previously used mapping should not appear pre-selected.
  2. User should not be able to save the mapping with no name and using space.
  3. Mapping chip should appear selected if clicked.
  4. User should not be able to save the new mapping without doing selection opposite to mandatory fields.

Current behavior

The system does not allow the mapping to be saved and prompts the user to create mappings for all fields, including the optional ones.

Expected behavior

The mapping should be saved successfully when the user completes the mandatory fields without requiring mappings for the optional fields.

Steps to reproduce the issue

Navigate to the 'Bulk Count' page and upload a CSV file. Attempt to create a mapping using only the mandatory fields. Try to save the mapping.

Environment details

App version : v2.1.0 App environment : UAT

Additional information

https://jam.dev/c/3c391a6a-4e6f-45cd-9674-f04f441ee2a6

Adameddy26 commented 3 weeks ago

Verified in release v2.1.1 and found that issue exists for the 4th point mentioned in the note section. Hence, reopening this ticket. @ravilodhi To regenerate the issue, follow the below mentioned steps -

  1. Upload a CSV file from the system.
  2. Map all the mandatory fields.
  3. Upload a different CSV file which doesn't a column common with last uploaded CSV file.
  4. Click new mapping and then try to create a mapping with only name without mapping a single field.
  5. Observe the issue.