PrestaShop
PrestaShop copied to clipboard
Feature flag Carrier page - Invalid Carrier name.
Prerequisites
- [X] I understand and accept the project's code of conduct.
- [X] I have already searched in existing issues and found no previous report of this bug.
Describe the bug and add attachments
The error message is not display when the carrier name is too long. CarrierConstraintException :
Expected behavior
The error alerte is displayed.
Steps to reproduce
- Go on carrier detail page (BO > Shippings > Carriers > + Add a new carrier)
- Fill a name with more than 64 car
- Fill a transit time
- Select a group access
- Click on the "Shipping locations and costs" tab
- Select a zone
- Set free shipping
- Click on the CTA "Save"
https://github.com/user-attachments/assets/f80f9953-5849-4eb4-93a0-91a3889de05d
PrestaShop version(s) where the bug happened
9.0.x
PHP version(s) where the bug happened
No response
If your bug is related to a module, specify its name and its version
No response
Your company or customer's name goes here (if applicable).
No response