-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Minifying templates breaks when two consecutive comments exist and first is // #34880
Comments
Hi @iwkse. Thank you for your report.
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:
For more details, review the Magento Contributor Assistant documentation. Add a comment to assign the issue: To learn more about issue processing workflow, refer to the Code Contributions.
🕙 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. 🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
Hi @engcom-Hotel. Thank you for working on this issue.
|
PR Fix here #33016 |
Hello @iwkse, We have tried to reproduce the issue in Magento 2.4-develop branch and it is reproducible for us with the given steps in the main description. Hence confirming the issue. Thanks |
✅ Jira issue https://jira.corp.magento.com/browse/AC-2058 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-Hotel. Thank you for verifying the issue. |
Hello, As I can see this issue got fixed in the scope of the internal Jira ticket AC-2058 by the internal team Based on the Jira ticket, the target version is 2.4.6. Thanks |
did anyone test it or did you just put it out there for a laugh to see what would happen |
Hello @maaarghk, As per the process, we are testing all the PRs before merging them and as I can see in its related JIRA, there is a QA comment that this issue has been fixed. But still, if you found that the issue is still not fixed, then please let us know in more detail. We will be happy to reopen this to work on this. Thanks |
I've noticed when you use // with phtml the static generator is going to strip the comment, it doesn't happen the same when using # or /* */
Preconditions (*)
Tested with 2.4.2
Steps to reproduce (*)
Expected result (*)
Actual result (*)
The text was updated successfully, but these errors were encountered: