Skip to content

Resolved issue coupon codes don't work anymore #18183 #22718

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

Merged
merged 1 commit into from
May 29, 2019

Conversation

this-adarsh
Copy link
Contributor

Description (*)

Fixed Issues (if relevant)

  1. Magento 2.2.6 coupon codes don't work anymore #18183: Issue title
  2. coupon codes don't work anymore

Manual testing scenarios (*)

  1. Create a coupon code.
  2. Set from & to date 2018 to 2088 respectively.
  3. Apply coupon code.

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

@m2-assistant
Copy link

m2-assistant bot commented May 4, 2019

Hi @this-adarsh. 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

@this-adarsh
Copy link
Contributor Author

@magento-engcom-team give me test instance

@magento-engcom-team
Copy link
Contributor

Hi @this-adarsh. Thank you for your request. I'm working on Magento instance for you

@magento-cicd2
Copy link
Contributor

magento-cicd2 commented May 4, 2019

CLA assistant check
All committers have signed the CLA.

@magento-engcom-team
Copy link
Contributor

Hi @this-adarsh, here is your new Magento instance.
Admin access: https://pr-22718.instances.magento-community.engineering/admin
Login: admin Password: 123123q

@ronak2ram ronak2ram self-requested a review May 5, 2019 18:41
@ronak2ram ronak2ram self-assigned this May 5, 2019
@ronak2ram
Copy link
Member

Hi @this-adarsh, please, sign CLA, otherwise, we can't process your pull request

@rogyar
Copy link
Contributor

rogyar commented May 6, 2019

@ronak2ram please note that changing a DB column type is backward incompatible change

@rogyar
Copy link
Contributor

rogyar commented May 8, 2019

For QA.
I've mentioned that changing the DB column is a backward incompatible change. However, in this case technically it should not bring problems since the timestamp -> datetime types in MySQL are almost identical. In terms with Magento persistence layer, there's no difference as well.

Timestamps in MySQL are generally used to track changes to records the coupon expiration date is not the case. So I believe we should use datetime here. Especially considering the fact that this change fixes the future date issue.

@magento-engcom-team
Copy link
Contributor

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

@VasylShvorak
Copy link
Contributor

✔️ QA passed

@m2-assistant
Copy link

m2-assistant bot commented May 29, 2019

Hi @this-adarsh, 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.

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.

8 participants