magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.55k stars 9.32k forks source link

Email Template Preview spawns a pop-up window and also directs user away from email templates grid #30594

Open dvluna opened 4 years ago

dvluna commented 4 years ago

Preconditions (*)

  1. Magento 2.4-develop
  2. Both Magento 2.4.0 and 2.4.1
  3. PHP version 7.4.11

Steps to reproduce (*)

  1. Go to Marketing > Communications > Email Templates
  2. Click Add New Template
  3. Fill out the form and save. You'll be sent over to the Email Templates grid.
  4. Click Preview on the newly created Email Template. You'll notice it will pop-up a preview window and also direct the user away from the Email Templates grid to the template preview.

Expected result (*)

  1. Upon clicking Preview, only a preview pop-up window should be displayed. It should not direct the user away from the Email Templates grid. This requires users to click back on the browser to view the Email Templates grid.

Actual result (*)

  1. Upon clicking preview, you'll notice it will pop-up a preview window and also direct the user away from the Email Templates grid to the template preview as shown below. This requires users to click Back on the browser in order to return to the Email Templates grid.

Peek 2020-10-22 13-01

Note: Provided screen shot was generated using Chrome. Firefox creates a new tab instead of a new popup, but experiences the same behavior. Screen Shot 2020-10-21 at 10 37 09 AM

  1. As a note, two separate requests are made upon clicking Preview. The two requests are listed below.
    • /admin/email_template/preview/id/1/key/5557c74ad6bc99b53a5b04afa8d26ec457a180e1cc6fdef15ad7e4a88aa1171e/
    • /admin/email_template/popup/key/b6de22c72d421f64469acdb1cf2546fbb891babe071c2b509630ce52fef24bfd/

Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

m2-assistant[bot] commented 4 years ago

Hi @dvluna. Thank you for your report. To help us process this issue please make sure that you provided the following information:

Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:

@magento give me 2.4-develop instance - upcoming 2.4.x release

For more details, please, review the Magento Contributor Assistant documentation.

Please, add a comment to assign the issue: @magento I am working on this


: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, please join the Community Contributions Triage session to discuss the appropriate ticket.

:movie_camera: You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel

:pencil2: Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel

m2-assistant[bot] commented 4 years ago

Hi @engcom-Alfa. 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:

magento-engcom-team commented 4 years ago

:white_check_mark: Confirmed by @engcom-Alfa Thank you for verifying the issue. Based on the provided information internal tickets MC-38653 were created

Issue Available: @engcom-Alfa, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.

amitsamsukha commented 4 years ago

@magento I am working on this

m2-assistant[bot] commented 4 years ago

Hi @amitsamsukha! :wave: Thank you for collaboration. Only members of Community Contributors Team are allowed to be assigned to the issue. Please use @magento add to contributors team command to join Contributors team.

amitsamsukha commented 4 years ago

@magento add to contributors team

m2-assistant[bot] commented 4 years ago

Hi @amitsamsukha! :wave: Thank you for joining. Please accept team invitation :point_right: here :point_left: and add your comment one more time.

amitsamsukha commented 4 years ago

@magento I am working on this

ghost commented 4 years ago

@magento I am working on this

engcom-Bravo commented 5 months ago

@magento give me 2.4-develop instance

magento-deployment-service[bot] commented 5 months ago

Hi @engcom-Bravo. Thank you for your request. I'm working on Magento instance for you.

magento-deployment-service[bot] commented 5 months ago

Hi @engcom-Bravo, here is your Magento Instance: https://0e67566b378178dded7a8582ea60aa04.instances-prod.magento-community.engineering Admin access: https://0e67566b378178dded7a8582ea60aa04.instances-prod.magento-community.engineering/admin_a33d Login: 2e97d488 Password: e173eb682f5e

engcom-Bravo commented 5 months ago

Hi @dvluna,

Thanks for your reporting and collaboration.

We have verified the issue in Latest 2.4-develop instance and the issue is reproducible.Kindly refer the attached video.

https://github.com/magento/magento2/assets/51680745/8a766d27-d071-4a58-9017-0dad176ed361

It is creating a new tab instead of popup and also direct the user away from the Email Templates grid.

Hence Confirming the issue.

Thanks.

github-jira-sync-bot commented 5 months ago

:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/AC-12040 is successfully created for this GitHub issue.

m2-assistant[bot] commented 5 months ago

: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.