-
Notifications
You must be signed in to change notification settings - Fork 270
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
Can’t place orders in Woo when HPOS is enabled #731
Comments
This is the error message I got on checkout (free product)
|
This looks like it could be related to the
I will add a few tests to the SQLite integration plugin to see how it looks there. |
This if is adding the extra It can be tested using this test
|
The root cause of the issue is that the id (key) isn't in the first position. This test will fail, but if the the insert is updated to
|
…sition (#113) [WordPress Playground observed an issu](WordPress/wordpress-playground#731 with insert queries that use `ON DUPLICATE KEY` and don't have the KEY as the first value of the insert. After investigating it it turns out that the condition for adding commas didn't work well in case the KEY value is in a "random" place. This PR ensures the comma is added for all items except for the last one. ## Testing instructions - Ensure tests pass
Orders can now be placed using HPOS. |
High Performance Object Storage, which is enabled by default in Woo, does not work with Playground — presumably due to an SQLite-related issue.
The text was updated successfully, but these errors were encountered: