Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.2.0, 4.2.x-dev
-
None
Description
Preconditions:
- Added a new product based on product type with required product variants (used for product variant option)
Steps to reproduce:
- Log in to back office.
- Go to Product catalog / Products / Product.
- Switch to Variants tab.
- Click on 'Add' button.
- Verify web browser console output right after user is redirected to add a new attribute form.
Actual result:
See attached screenshots.
A java script exception occurred while user is redirected to add new variant form.
Uncaught TypeError: Cannot read properties of null (reading 'querySelectorAll') at ibexa-product-catalog-edit-js.js:24:35 at ./vendor/ibexa/product-catalog/src/bundle/Resources/public/js/edit.form.validator.js (ibexa-product-catalog-edit-js.js:82:3) at __webpack_require__ (runtime.js:23:42) at __webpack_exec__ (ibexa-product-catalog-edit-js.js:88:48) at ibexa-product-catalog-edit-js.js:89:37 at webpackJsonpCallback (runtime.js:169:39) at ibexa-product-catalog-edit-js.js:1:53
Expected result:
No exception occurs.