Skip to content

Fix for issues in #72 #73

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
wants to merge 0 commits into from
Closed

Fix for issues in #72 #73

wants to merge 0 commits into from

Conversation

snoop0x7b
Copy link

@snoop0x7b snoop0x7b commented Jun 12, 2024

Description (*)

This PR fixes the issues outlined in Issue #72. It fixes the query-in-a-loop anti-pattern, the assumption that all items in a quote will be in a category (Which can cause a SQL error), the logic error where the category name array is overwritten for each item in the loop.

Bug

  • 75 <Potential errors and performance issues in Tracker/InitiateCheckout>

Fixed Issues (if relevant)

  1. magento-commerce/facebook-for-magento2#<72>: Potential errors and performance issues in Tracker/InitiateCheckout

Manual testing scenarios (*)

  1. Create an item that has no categories, add it to the cart and check out. No error should occur.

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 are green)

@snoop0x7b
Copy link
Author

Hey Facebook team

We're still maintaining this patch in our repository because we want into that SQL query issue I mentioned (In my issue report) any plans to merge this?

@zlik
Copy link
Contributor

zlik commented Aug 14, 2024

Hey @snoop0x7b, we reviewed your PR and it looks great! We will merge it in the private repo and release in the next version later this month. Thanks so much for your contribution!

@snoop0x7b
Copy link
Author

Thanks! Looks like you guys merged a variant of this PR. I've closed this PR and updated my fork.

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.

2 participants