Open
Description
Preconditions
- Magento 2.3.1 EE with sample data installed
- PHP 7.2
Steps to reproduce
- Open any CMS page
- In "Content" field add a Catalog Products List widget with settings:
Title = title
Number of Products to Display = azaza (or any other non-numeric value)
Display Page Control = No
Other settings have default values - Save the widget
- Save the CMS page
- Go to the CMS page
Expected result
Step 3:
Validation error appears as widget is saved due to incorrect input
Actual result
Step 5:
Exception: A non-numeric value encountered
http://dl4.joxi.net/drive/2019/06/26/0023/4040/1548232/32/4a91df8f78.jpg
Additional Information
- no exception now but validation should be Usage of non-numeric value for "Number of Products to Display" setting in "Catalog Products List" widget leads to an exception #23422 (comment)