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

Discount Code Generator yields no error message even if CSV file contains duplicate values #1597

Open
michaelashe opened this issue Jul 31, 2020 · 0 comments

Comments

@michaelashe
Copy link

Support reference number

https://jira.commercetools.com/browse/SUPPORT-9609

Relevant CSV files are in ticket

Description

When using the Discount Code Generator tool, parameters can be set such that the code generator cannot produce all unique codes and there is no error messaging to suggest there was a problem yielding the codes.

In IMPEX, if you set the quantity of discount codes to 100, the amount of characters for each generated code to 5, and set the prefix to something like "Test", the generator will produce a CSV file with 100 codes but there will be duplicates, and there is no error message to suggest that the operation wasn't possible.

Expected Behavior

When using the discount code generator, if the parameters set make it impossible for the generator to perform its function, then an error message should be generated.

Current Behavior

If you set parameters that make it impossible for the generator to perform its function, the generator yields the CSV with no indication that there are duplicate values.

Customer would like for there to be some indication that the process didn't actually do what it claims it did.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant