Discount Code Generator yields no error message even if CSV file contains duplicate values
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- javascript, nodejs
- Ambito
- tooling
Direzione di ricerca
Nell’issue non sono identificati alcun file sorgente, test o punto di ingresso. Riproduci il caso di Discount Code Generator con quantità 100, lunghezza del codice 5 e prefisso "Test", quindi individua il generatore e determina come debba essere segnalato l’output duplicato; il lavoro è completato quando parametri impossibili producono un’indicazione di errore invece di un CSV non annunciato con duplicati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- JavaScript
- Stelle
- 77
- Fork
- 70
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di commercetools/nodejs
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
commercetools/nodejs#1901 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 45/100
commercetools/nodejs#1895 · 1 commento ·
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 55/100
commercetools/nodejs#1891 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
commercetools/nodejs#1889 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
commercetools/nodejs#1884 · 4 reazioni ·
Tutte le issue di commercetools/nodejs
Issue simili
-
[Bug] @deck.gl/arcgis dist import resolves to unpublished @deck.gl/core source path (9.3.11, 9.4.0)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
stac-utils/stac-fields#42 ·
-
[sec-check] SVG remote-reference gate misses src attributes, link hrefs and bare-string @importApertaagent/security hive/hosted-available-lke648397-260827-5n31 security
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Fix #3381 does not fix #3343: watch() returns the ref, not the value, so setup() never re-runsAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
I maintainer di solito rispondono entro 1 giorno
-
Add: Eurosport 1 PolskaApertachannels:add check:passed
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
I maintainer di solito rispondono entro 2 giorni