-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Print order error on magento 2.1.8 #10530
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
Comments
Can you please follow the reporting template in terms of providing pre-conditions (configurations other than 2.1.8) , steps to reproduce when reporting an issue. |
This exception appear on frontend customer Dashboard(Recent Orders->Order View->Print Order) after upgrade magento 2.1.7 at 2.1.8. |
Unfortunately, I could not reproduce the issue as you described it. Please add more details to your description of the steps you followed when identifying this issue. In addition, identify the web server you are running, the versions of PHP and MySQL, and any other information needed to reproduce your issue. |
I think M2 sale module given wrong block class for Temporary way: <block class="Magento\Sales\Block\Order\PrintShipment" name="order_items" template="order/items.phtml"> to <block class="Magento\Sales\Block\Order\Items" name="order_items" template="order/items.phtml"> Then it will be fine. If u r using custom theme just override the |
I'm having the same issue in Magento 2.1.8 and Magento 2.1.9. In the layout.xml the block is defined as: In the items.phtml template it states: Clearly, this is incorrect. The template calls for This function is not defined in Magento\Sales\Block\Order\PrintShipment, but is defined in Magento\Sales\Block\Order\Items |
Please follow the issue reporting template for future reports. |
I am having the same issue on Magento 2.1.8. Preconditions: Steps to reproduce: Expected Results: Actual Results: |
@ionutdicu We have updated issue report to follow guidelines. |
@ionutdicu, thank you for your report. |
We are also facing the same problem after update to 2.1.9. If development mode is enabled then, on Print Order, giving the below error.
If production mode is enabled, then the items are missing in the print out. Below is the screenshot. |
The issue has been fixed in 2.1-develop branch and will be available with next patch release |
Hi @ionutdicu. Thank you for your report. The fix will be available with the upcoming 2.2.8 release. |
Hi @ionutdicu. Thank you for your report. The fix will be available with the upcoming 2.3.1 release. |
Uh oh!
There was an error while loading. Please reload this page.
Preconditions
Steps to Reproduce
Actual Result
Expected result
The text was updated successfully, but these errors were encountered: