Open
Description
Preconditions (*)
- Magento 2.3, 2.4
Steps to reproduce (*)
- Login by user account
- Create new order by checkout (order id 11)
- Go to https://domain.com/sales/order/printInvoice/invoice_id/11/
Expected result (*)
- If the invoice doesn't exist, Error handling should be done for better user experience.
Actual result (*)
- Showing error:
There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: 1a010b4dc79669c5758ea8eed7d18e4a4901fd402b6734616e693dfedb4c0cbd
Var/log/exception.log:
[2021-08-16 12:00:54] main.CRITICAL: The entity that was requested doesn't exist. Verify the entity and try again. {"report_id":"5aade6c95721635595e8acabec9909a13f5cf2ca4212e0313cd3e939ba435167","exception":"[object] (Magento\Framework\Exception\NoSuchEntityException(code: 0): The entity that was requested doesn't exist. Verify the entity and try again. at /var/www/html/magento2.4/magento2/app/code/Magento/Sales/Model/Order/InvoiceRepository.php:75)"} []
Note: There is no issue for the Orders having invoice generated from admin and navigated to /sales/order/printInvoice/invoice_id/7/
Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
Activity
m2-assistant commentedon Aug 14, 2021
Hi @minhluan259. 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 releaseFor more details, please, review the Magento Contributor Assistant documentation.
Please, add a comment to assign the issue:
@magento I am working on this
🕙 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, please 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
engcom-November commentedon Aug 16, 2021
Verified the issue on Magento 2.4-develop branch and the issue is reproducible:
Steps to reproduce:
/sales/order/printInvoice/invoice_id/7/
[2021-08-16 12:00:54] main.CRITICAL: The entity that was requested doesn't exist. Verify the entity and try again. {"report_id":"5aade6c95721635595e8acabec9909a13f5cf2ca4212e0313cd3e939ba435167","exception":"[object] (Magento\Framework\Exception\NoSuchEntityException(code: 0): The entity that was requested doesn't exist. Verify the entity and try again. at /var/www/html/magento2.4/magento2/app/code/Magento/Sales/Model/Order/InvoiceRepository.php:75)"} []
Note: There is no issue for the Orders having invoice generated from admin and navigated to /sales/order/printInvoice/invoice_id/7/
magento-engcom-team commentedon Aug 16, 2021
✅ Confirmed by @engcom-November
Thank you for verifying the issue. Based on the provided information internal tickets
MC-43098
were createdIssue Available: @engcom-November, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.
Kannakiraj123 commentedon Aug 28, 2021
@magento I am working on this
41 remaining items
github-jira-sync-bot commentedon Sep 16, 2024
✅ Jira issue https://jira.corp.adobe.com/browse/AC-12999 is successfully created for this GitHub issue.
m2-assistant commentedon Sep 16, 2024
✅ 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.
engcom-November commentedon May 13, 2025
Hello @minhluan259 ,
Thank you for your report and collaboration.
We’ve verified this issue on our latest 2.4-develop and 2.4.8 instances, and can confirm that it has been resolved. For your reference, please see the attached video demonstration.
33800.mov
As the issue is now resolved, we will proceed to close this ticket. If you have any further questions or encounter any other issues, please feel free to open a new ticket.
Thank you once again!
engcom-Bravo commentedon May 14, 2025
Hi @minhluan259,
Thanks for your reporting and collaboration.
We have tried to reproduce the issue in latest 2.4-develop instance and the issue is still reproducible.Kindly refer the screenshots.
Hence Confirming the issue.
Thanks.
github-jira-sync-bot commentedon May 14, 2025
❌ Cannot export the issue. This GitHub issue is already linked to Jira issue(s): https://jira.corp.adobe.com/browse/AC-12999