Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switcherConfig stops working in admin customer address edit modal #39553

Open
1 of 5 tasks
xtremevision opened this issue Jan 18, 2025 · 1 comment
Open
1 of 5 tasks

Comments

@xtremevision
Copy link

xtremevision commented Jan 18, 2025

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

  1. Install attached module
  2. Login to admin backend
  3. Edit a customer
  4. Edit the customer's address
  5. Click field1 once or twice to see the hide/show effect (rules)
  6. Close the modal
  7. Edit the address again
  8. 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”.
Copy link

m2-assistant bot commented Jan 18, 2025

Hi @xtremevision. Thank you for your report.
To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce.


Join Magento Community Engineering Slack and ask your questions in #github channel.
⚠️ According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.
🕙 You can find the schedule on the Magento Community Calendar page.
📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.

@xtremevision xtremevision changed the title switcherConfig stop working in admin customer address edit modal switcherConfig stops working in admin customer address edit modal Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant