Skip to content

Fix print invoice issue #33800 #33939

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

Closed

Conversation

Kannakiraj123
Copy link
Contributor

@Kannakiraj123 Kannakiraj123 commented Aug 28, 2021

Description (*)

1.Fix print invoice no such entity exception
2.Fix print Shipment no such entity exception

Related Pull Requests

1.I added code try catch for no such entity for invoice id.

Fixed Issues (if relevant)

  1. Fixes Issue with print invoice #33800

@m2-assistant
Copy link

m2-assistant bot commented Aug 28, 2021

Hi @Kannakiraj123. Thank you for your contribution
Here are some useful tips how you can test your changes using Magento test environment.
Add the comment under your pull request to deploy test or vanilla Magento instance:

  • @magento give me test instance - deploy test instance based on PR changes
  • @magento give me 2.4-develop instance - deploy vanilla Magento instance

❗ Automated tests can be triggered manually with an appropriate comment:

  • @magento run all tests - run or re-run all required tests against the PR changes
  • @magento run <test-build(s)> - run or re-run specific test build(s)
    For example: @magento run Unit Tests

<test-build(s)> is a comma-separated list of build names. Allowed build names are:

  1. Database Compare
  2. Functional Tests CE
  3. Functional Tests EE,
  4. Functional Tests B2B
  5. Integration Tests
  6. Magento Health Index
  7. Sample Data Tests CE
  8. Sample Data Tests EE
  9. Sample Data Tests B2B
  10. Static Tests
  11. Unit Tests
  12. WebAPI Tests
  13. Semantic Version Checker

You can find more information about the builds here

ℹ️ Please run only needed test builds instead of all when developing. Please run all test builds before sending your PR for review.

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

⚠️ According to the Magento Contribution requirements, all Pull Requests must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.

🕙 You can find the schedule on the Magento Community Calendar page.

📞 The triage of Pull Requests 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

@m2-community-project m2-community-project bot added the Priority: P4 No current plan to fix. Fixing can be deferred as a logical part of more important work. label Aug 28, 2021
@Kannakiraj123
Copy link
Contributor Author

@magento give me test instance

@magento-deployment-service
Copy link

Hi @Kannakiraj123. Thank you for your request. I'm working on Magento instance for you.

@Kannakiraj123
Copy link
Contributor Author

@magento run all tests

@magento-automated-testing
Copy link

The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time.

@magento-deployment-service
Copy link

@Kannakiraj123
Copy link
Contributor Author

@magento run all tests

@magento-automated-testing
Copy link

The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time.

@Kannakiraj123
Copy link
Contributor Author

@magento run all tests

@magento-automated-testing
Copy link

The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time.

@bgorski
Copy link
Contributor

bgorski commented Aug 28, 2021

@Kannakiraj123 You used the object manager directly, which is a code smell - you're not supposed to do that ever unless you're writing tests using the Integration Test Framework (in which case it's usually the recommended way). I know that direct object manager usage was already there, but adding more of that is extending the technological debt of the project - it's just more code to fix later. One of the issues of using the object manager directly is that this may break the application on read-only environments like Adobe Commerce Cloud.
I'm going to close this PR for now. You'll welcome to create another one, but please keep in mind that it's addressing a P4 issue - and P4 means "no current plan to fix". This mean that the effort you put in fixing the issue may be greatly deferred or even wasted if the plan to fix (once/if there is one) doesn't include merging the PR as it is.
If you do plan to introduce a new PR despite the fact that it may wait a long time for a merge or never be merged, I'll be happy to review it for you.
Despite the fact that I'm closing the issue, the effort you put in your contributions is still greatly appreciated - keep doing the good work you do! Thanks!

@bgorski bgorski closed this Aug 28, 2021
@m2-assistant
Copy link

m2-assistant bot commented Aug 28, 2021

Hi @Kannakiraj123, thank you for your contribution!
Please, complete Contribution Survey, it will take less than a minute.
Your feedback will help us to improve contribution process.

@Kannakiraj123 Kannakiraj123 deleted the issue_printinvoice branch September 2, 2021 06:48
@Kannakiraj123 Kannakiraj123 restored the issue_printinvoice branch September 2, 2021 06:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Sales Partner: EY partners-contribution Pull Request is created by Magento Partner Priority: P4 No current plan to fix. Fixing can be deferred as a logical part of more important work. Release Line: 2.4
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issue with print invoice
3 participants