Discount Code Generator yields no error message even if CSV file contains duplicate values
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- javascript, nodejs
- Lĩnh vực
- tooling
Hướng nghiên cứu
Issue không xác định tệp nguồn, test hoặc entry point nào. Hãy tái hiện trường hợp Discount Code Generator với số lượng 100, độ dài mã 5 và tiền tố "Test", sau đó tìm generator và xác định đầu ra trùng lặp nên được báo cáo như thế nào; hoàn thành có nghĩa là các tham số không thể thực hiện tạo ra một chỉ báo lỗi thay vì một CSV không được thông báo có chứa các giá trị trùng lặp.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- JavaScript
- Star
- 78
- Fork
- 35
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của commercetools/nodejs
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
commercetools/nodejs#1901 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
commercetools/nodejs#1895 · 1 bình luận ·
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 55/100
commercetools/nodejs#1891 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
commercetools/nodejs#1889 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
commercetools/nodejs#1884 · 4 reaction ·
Tất cả issue của commercetools/nodejs
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
AOSSIE-Org/BabyNest#268 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add: DG:TVĐang mởchannels:add check:passed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
[Bug Report][3.13.7] VDataTable with select-strategy="single" shows select-all checkbox in mobile modeCó thể đã có người làm @lazerg đã nhận hôm nay. Đang mởS: triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
[External Plugin]: CarboneĐang mởexternal-plugin ready-for-review third party
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
github/awesome-copilot#5259 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày