-
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
[2.1.0-rc3] Loading certain email templates in backend doesn't work #5101
Comments
PR created: #5116 |
Hi @hostep , |
This is still a bug in Magento 2.1. |
Facing the same problem with Magento 2.1 when trying to load New Order template in backend for translation purposes. |
same issue 2.1 / php7/ nginx |
Facing the same problem with Magento 2.1. |
Same issue. Thanks @hostep |
Magento 2.1.0 and same issue. |
Thanks @NadiyaS , I applied patch and it works as expected. |
Thanks it worked. saved valuable time 👍 |
Problem continue with Magento 2.1.2 |
@rbostan the fix was not included to 2.1.2 release. Now you may find it in develop branch only. |
@SerhiyShkolyarenko So how hard would this have been to include in 2.1.2? It's just adding a comma to four files. I'm trying to understand the methodology here. I understand needing a cutoff point, at some point you have to ship what you have. But a lot of these fixes are no brainers and it's hard to understand why many things that had fixes prior to 2.1.2 were not included. |
From what I gather, 2.1.2 was only a security update, so no fixes were included. |
@olysenko this is not the same issue... |
The issue still exists. Can someone explain how it can take more than 5 months to add a comma to four files? |
I ran into this also, rather frustrating that it was fixed, but not introduced, could have saved me time trying to figure out what I assumed was something I did wrong. Would like to know why there are several fixes out there that dont make it into the mainline. |
Hi in my site when i load new order email template it shows error and Error message appears: The template did not load. Please review the log for details I updated the line "var order.getShippingDescription()":"Shipping Description", with a comma "," at the end of line as suggested in some support pages to resolve the template load issue. Now i can load new order email template but the measure problem is that when i click to preview template or save template it goes a 404 page and nothing happen. Some support page are saying to Install Magento 2.1.0-rc3 using composer. What stand for Magento 2.1.0-rc3 and where i can get it download and install or there is any other option to resolve this issue . i want to keep the megento 2.1.0 version for my website. Please reply with the correct solution . |
Hi @mithname20, |
This was fixed in June. When are we going to see a fix?! |
Hi Guys, the fix for this is scarily simple In the file /public_html/vendor/magento/module-sales/view/frontend/email/order_new.html "var order.getShippingDescription()":"Shipping Description" and simply add a comma after it , like below "var order.getShippingDescription()":"Shipping Description", Like magic the template will load |
Steps to reproduce
Expected result
Actual result
The template did not load. Please review the log for details.
In the exception.log file, I see:
Discoveries
After searching a bit around, it looks like the json in the
<!--@vars ... @-->
isn't valid in the filevendor/magento/module-sales/view/frontend/email/order_new.html
:There is a trailing comma missing after
"Shipping Description"
If I add a comma, the issue is fixed.
This issue also exists in the
order_new_guest.html
file, I haven't took the time to check all other email templates, but maybe some other ones might have the same problem?The text was updated successfully, but these errors were encountered: