Skip to content
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

Fix Exception While Creating an Order in the Admin #22606

Merged
merged 1 commit into from
May 10, 2019
Merged

Fix Exception While Creating an Order in the Admin #22606

merged 1 commit into from
May 10, 2019

Conversation

justin-at-bounteous
Copy link
Contributor

Changes:

  • $total->getDiscountDescription() returns a Phrase, but strlen expects a string
  • $total->getDiscountDescription()->getText() will return a string

@m2-assistant
Copy link

m2-assistant bot commented May 2, 2019

Hi @justin-at-bounteous. Thank you for your contribution
Here is 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-engcom-team give me test instance - deploy test instance based on PR changes
  • @magento-engcom-team give me 2.3-develop instance - deploy vanilla Magento instance

For more details, please, review the Magento Contributor Assistant documentation

Copy link
Contributor

@orlangur orlangur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After changes are applied and all builds are green, please squash them into a single commit so that we have perfectly clean history 😉

@ghost ghost assigned orlangur May 2, 2019
Changes:
 - $total->getDiscountDescription() returns a Phrase, but strlen expects a string
@magento-engcom-team
Copy link
Contributor

Hi @orlangur, thank you for the review.
ENGCOM-5034 has been created to process this Pull Request

@soleksii
Copy link

soleksii commented May 6, 2019

✔️ QA Passed

@m2-assistant
Copy link

m2-assistant bot commented May 10, 2019

Hi @justin-at-bounteous, 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.

@magento-engcom-team magento-engcom-team added this to the Release: 2.3.3 milestone May 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants