Open
Description
switcherconfig_test_module.zip
Preconditions and environment
- Magento open source version 2.4.4 and 2.4.6
- nginx
- elasticsearch
- MariaDB 10.4.25
- php 8.1
- A customer record with an address
- Install attached module to reproduce issue
Steps to reproduce
- Install attached module
- Login to admin backend
- Edit a customer
- Edit the customer's address
- Click field1 once or twice to see the hide/show effect (rules)
- Close the modal
- Edit the address again
- Click field1 once or twice - hide/show rules no longer work (nor on page load either)
See attached recording.
Veronica.Costello._.Customers._.Customers._.Magento.Admin.webm
Expected result
The switcherConfig should work every time the modal is opened to add or edit an address.
Actual result
switcherConfig stop working after the modal is first closed. Subsequent openings no longer execute the switcherConfig rules.
There are no JS console or system/exception log errors that I can see.
Additional information
It has happens in the customer address form for both add or edit addresses.
Release note
No response
Triage and priority
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.