Preconditions (*)
- Magento 2.3.4
Steps to reproduce (*)
- Create a Configurable product with at least one swatch type attribute, and one non-swatch type attribute as the product's super attributes.
- Go to the new Configurable product's page on the front-end.
- Configure the product by clicking attribute options until you click on an option from a non-swatch attribute.
- Note the JS error: "Uncaught TypeError: Cannot read property 'additional_data' of undefined"
Expected result (*)
- No JS error is thrown when clicking on options for non-swatch attributes
Actual result (*)
- A JS error is thrown.
This appears to have been caused by the new line 729 in Magento 2.3.4 It should not assume that all attributes it encounters are swatch-type attributes.
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Actual result (*)
This appears to have been caused by the new line 729 in Magento 2.3.4 It should not assume that all attributes it encounters are swatch-type attributes.