[FE] Kit Unpack List quantity validation not working for a large numbers.

Description

Issue discovered while executing:

Test Case: Orderable with kits: Viewing and creating orderable kits

Execution Date: 03/Mar/2025

Open Execution


Reproduction steps
1. Click the "Edit" button in the "Actions" column next to any product.
2. Go to the "Kit Unpack List" tab.
3. Check whether the tab's content is correct.
4. Click the "Add Product" button.
5. Verify the modal's content.
6. Click the "Filter" button.
7. Enter any value in the "Product Name" field and click the "Search" button.
8. Re-open the filter, clear the previously-entered value and enter any value in the "Product Code" field. Click the "Search" button.
9. Re-open the filter and click the "Cancel" button.
10. Re-open the filter, clear all previously-entered values and click the "Search" button.
11. Select some products and click the "Add Products" button.
12. Re-open the "Add Products" modal and check whether the just-added products are selected in it.
13. Check whether it is possible to move between the pages freely.
14. Fill in the "Quantity" column and click the "Save Kit Unpack List" button.
15. Click the "Edit" button next to the same product and go to the "Kit Unpack List" tab.
16. Change the value in the "Quantity" field for any product and click the "Save Kit Unpack List" button.
17. Click the "Edit" button next to the same product and go to the "Kit Unpack List" tab.
18. Make the "Quantity" field's value for any product very large (e.g. 11111111111111111111111) and click the "Save Kit Unpack List" button. Failed

Expected: The notification that the kit unpack list update failed should appear. Also, the "Quantity" field should be marked in red with an exclamation mark and on hover of it, a popover with the information that the number is larger than what can be saved should appear.
Actual: Upon entering 11111111111111111111111 The "Quantity" field should be marked in red with an exclamation mark and on hover of it is not present.

Attachments

1

Checklists

Activity

Show:
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Priority

Time Assistant

Created March 17, 2025 at 2:27 PM
Updated March 26, 2025 at 8:00 AM