Open adamlavery opened 11 months ago
Hi @adamlavery. 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. :warning: According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting. :clock10: You can find the schedule on the Magento Community Calendar page. :telephone_receiver: 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.
@magento give me 2.4-develop instance
Hi @adamlavery. Thank you for your request. I'm working on Magento instance for you.
Hi @adamlavery, here is your Magento Instance: https://16b86c0cc2f70973ea7db7c4aae7acfd.instances-prod.magento-community.engineering Admin access: https://16b86c0cc2f70973ea7db7c4aae7acfd.instances-prod.magento-community.engineering/admin_8ed2 Login: 45180ae5 Password: 6f73ad744e47
Issue confirmed:
Hi @engcom-Bravo. 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: :point_down:
Area: XXXXX
label to the ticket, indicating the functional areas it may be related to.2.4-develop
branch@magento give me 2.4-develop instance
to deploy test instance on Magento infrastructure. 2.4-develop
branch, please, add the label Reproduced on 2.4.x
.Issue: Confirmed
once verification is complete. Hi @adamlavery,
Thank you for reporting and collaboration.
Verified the issue on Magento 2.4-develop instance and the issue is reproducible.Kindly refer the screenshots.
Steps to reproduce
Map doesn't work and doesn't render correctly in backend. Map doesn't work on frontend.
Hence Confirming the issue.
Thanks.
:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/AC-10704 is successfully created for this GitHub issue.
:white_check_mark: Confirmed by @engcom-Bravo. Thank you for verifying the issue.
Issue Available: @engcom-Bravo, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.
When will be a fix available for this? Prototype.js array.from implementation conflicts with Google maps API from v3.54. Forcing maps API version v3.53 was a viable workaround, but in 2024 april that version will be officially deprecated, causing all google maps implementations on Magento 2 to stop working. Considering that a minor Magento 2 version upgrade can take weeks or months (depending on the complexity of a project), any fix for this is already late. But still, if there will be an official fix for this, when will it be, and is it going to be backported? Are there any viable workarounds for this?
I've just applied a workaround to get rid of this issue by forcing to use the exact version of Google maps API v3.53. Thanks to @pagesailor
@alitopaloglu keep in mind that this workaround won't work after the middle of 2024 may, when the 3.53 Goole Maps API version will be retired.
Seems an official patch is now available: https://experienceleague.adobe.com/en/docs/commerce-knowledge-base/kb/troubleshooting/site-down-or-unresponsive/revised-patches-for-google-maps-access-loss-on-all-adobe-commerce-versions
It looks ok at first glance, will try it soon to see if it works as expected
Preconditions and environment
Magento OS 2.4.6
Steps to reproduce
Expected result
Map should work and render correctly.
Actual result
Map doesn't work and doesn't render correctly in backend. Map doesn't work on frontend.
Additional information
Issue 1 is that Page Builder CSP whitelist is missing many CSP rules required for Google Maps to work correctly. This is how it should be:
Issue 2 is that latest Google Maps API fails due to overriding Array.from() in vendor\magento\magento2-base\lib\web\legacy-build.min.js. That has to be removed for the API to function correctly.
Release note
No response
Triage and priority