Open
Description
Preconditions and environment
- Magento version: 2.4.5-p2
- Clean installation with demo data
- Blank or Luma theme
Steps to reproduce
After setting up the fresh M2 instance with demo data
- Go to any product with swatches (size, color)
- In developer console, try to access the swatch renderer with
jQuery('[data-role=swatch-options]').data('mageSwatchRenderer')
Expected result
Swatch renderer should be initialized and data be accessible
Actual result
Additional information
I still had a clean installed M2 version 2.3.4 around, and there it's working just fine.
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”.
Metadata
Metadata
Assignees
Labels
Cannot reproduce the issue on the latest `2.4-develop` branchAdditional information is require, waiting for responseMay be fixed according to the position in the backlog.Indicates original Magento version for the Issue report.Issue related to Developer Experience and needs help with Triage to Confirm or Reject it
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
m2-assistant commentedon Mar 1, 2023
Hi @Hoargarth. 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. To deploy vanilla Magento instance on our environment, Add a comment to the issue:
@magento give me 2.4-develop instance
- upcoming 2.4.x release@magento I am working on this
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.
Mugentoki commentedon Mar 1, 2023
@magento give me 2.4-develop instance
magento-deployment-service commentedon Mar 1, 2023
Hi @Hoargarth. Thank you for your request. I'm working on Magento instance for you.
magento-deployment-service commentedon Mar 1, 2023
Hi @Hoargarth, here is your Magento Instance: https://d9d1a9d5bfe4d0486845cb818bc2ce33.instances.magento-community.engineering
Admin access: https://d9d1a9d5bfe4d0486845cb818bc2ce33.instances.magento-community.engineering/admin_2da3
Login: 2844ce62
Password: 9bf9e8dce4ed
m2-assistant commentedon Mar 1, 2023
Hi @engcom-Dash. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: 👇
Area: XXXXX
label to the ticket, indicating the functional areas it may be related to.2.4-develop
branchDetails
- Add the comment@magento give me 2.4-develop instance
to deploy test instance on Magento infrastructure.- If the issue is reproducible on
2.4-develop
branch, please, add the labelReproduced on 2.4.x
.- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!
Mugentoki commentedon Mar 1, 2023
Checked on the radiant-tee
/radiant-tee.html
And can reproduce the issue
Mugentoki commentedon Mar 1, 2023
There's this file in vendor
vendor/magento/module-swatches/view/frontend/web/js/configurable-customer-data.js
which is referencingmageSwatchRenderer
However, further inspecting the jQuery object in browser I can see it's actually attached with
mage-SwatchRenderer
and can be accessed like thatjQuery('[data-role=swatch-options]').data('mage-SwatchRenderer')
So the question now arises, which one is correct?
mageSwatchRenderer
ormage-SwatchRenderer
engcom-Dash commentedon Mar 1, 2023
@magento give me 2.4-develop instance
magento-deployment-service commentedon Mar 1, 2023
Hi @engcom-Dash. Thank you for your request. I'm working on Magento instance for you.
magento-deployment-service commentedon Mar 1, 2023
Hi @engcom-Dash, here is your Magento Instance: https://d9d1a9d5bfe4d0486845cb818bc2ce33.instances.magento-community.engineering
Admin access: https://d9d1a9d5bfe4d0486845cb818bc2ce33.instances.magento-community.engineering/admin_6216
Login: b05b0c3a
Password: 105d382344ce
engcom-Dash commentedon Mar 2, 2023
Hi @Hoargarth ,
Thanks for Raising this issue,
Could you please provide the exact steps which you followed for this issue.Because it will helps to proceed further in this case.
Thanks.
43 remaining items