Closed jonleverrier closed 1 year ago
Just updated, to CraftCMS v4.4.1 and the issue is still there.
@jonleverrier I can confirm the bug, but it seems to be a cms issue. We`ll report it to the cms.
Created an issue in CMS here: https://github.com/craftcms/cms/issues/12884
This is now fixed in Commerce 4.2.6 which is now compatible with 4.4
What happened?
Description
Since updating to CraftCMS v4.4.0, when "validateCartCustomFieldsOnSubmission" is set to "true", it no longer validates custom fields on update cart in the front-end. It was working fine before updating.
Steps to reproduce
commerce/cart/update-cart
formExpected behavior
When custom fields are added to Order Fields and validateCartCustomFieldsOnSubmission is set to "true", on the front-end, they should show errors if for example, they are left blank.
Actual behavior
No validation errors are reported in the front-end when custom fields are added to Order Fields and set to required.
Craft CMS version
v4.4.0
Craft Commerce version
v4.2.5.1
PHP version
8.0.21
Operating system and version
Linux 5.15.49-linuxkit
Database type and version
MySQL 10.4.25
Image driver and version
Imagick 3.6.0 (ImageMagick 6.9.11-60)
Installed plugins and versions
-