SKU admin breaks when sending a reference code longer than 50 characters
ID: 884789
Backlog
Published on 8/21/2023
•
Last update on 8/21/2023
Summary
It is expected that the user will be able to change the SKU's Reference code using the admin. However, when a value longer than 50 characters is passed in, the admin crashes, displaying a "something went wrong" message.
Simulation
-
Go to the admin of an SKU:
/admin/Site/SkuForm.aspx?IdSku=
-
Go to the Reference code field and put a value with more than 50 characters like:
ABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEABCDEW
-
Click on salve
-
A "something went wrong" message will be displayed on the front.
Workaround
Send no more than 50 characters on the Reference code field of an SKU