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 incorrect field type for mp_smtp_ace_token #418

Open
wants to merge 1 commit into
base: 2.4
Choose a base branch
from

Conversation

timoffmax
Copy link

Description

Field mp_smtp_ace_token of the quote table currently has type smallint, so it can't handle the generated token. It looks like when the code was switching from the setup scripts to the DB Schema approach, the field type was accidentally set incorrectly.

Here we can see that the content that is put into the field should be a string: \Mageplaza\Smtp\Observer\Quote\SetToken.

This PR reverts the mp_smtp_ace_token field type back to varchar 255.

Related Pull Requests

No related PR were found.

Fixed Issues (if relevant)

No open issues were found.

Manual testing scenarios

  1. Open the quote table
  2. Check the field type
  3. Check the data in the column
  4. Place an order and make sure that mp_smtp_ace_token is generated correctly for your quote

Questions or comments

No extra questions or comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant