Using the new product editor we get an "undefined" error message if an input on the Google for WooCommerce tab has an invalid value.
Steps to reproduce:
Install WooCommerce 9.2.0-rc.1
Enable the new product editor
Edit a product and click on the Google for WooCommerce tab
Enter an invalid value for Availability Date
Click Save draft or Publish
See error
Additional details:
Surfaced by failing E2E test during compat testing. See #2506
The Multipack input also has some validation issues and if we attempt to save a product after entering a decimal value in the field we get an empty Snackback and no error under the field:
Describe the bug:
Using the new product editor we get an "undefined" error message if an input on the Google for WooCommerce tab has an invalid value.
Steps to reproduce:
9.2.0-rc.1
Google for WooCommerce
tabAvailability Date
Save draft
orPublish
Additional details:
Surfaced by failing E2E test during compat testing. See #2506
The
Multipack
input also has some validation issues and if we attempt to save a product after entering a decimal value in the field we get an empty Snackback and no error under the field:Related changes in core