-
Notifications
You must be signed in to change notification settings - Fork 9.4k
2.2.6 Use batches and direct queries to fix sales address upgrade #19098
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
2.2.6 Use batches and direct queries to fix sales address upgrade #19098
Conversation
Hi @rikwillems. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
Also looks like CLA showing as "not signed", so probably we have some issue there. Could you contact me in Slack to get it resolved faster? |
@ihor-sviziev is this not relevant or already delivered to 2.3? |
@orlangur this PR was just re-created from #18945 by author. BTW we have the same issue in 2.3: |
This CLA is giving me a headache. I tried a new PR fix this as I cannot modify existing commits with new emailaddress. #19114 |
should do the trick for arbitrary amount of last commits. |
Hi @rikwillems, Also please create PR to 2.3-develop branch, as we should accept it at first according to contributor guide |
@ihor-sviziev I tried this now. Please see it that works. |
Hi @rikwillems, |
@ihor-sviziev this is quote a pain. Not sure why it is not working out. Tried it again. |
@rikwillems, now you force-pushed, but pushed the same commits as before, but we want to have one squashed commit from you. |
@ihor-sviziev this should do it... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Issues with commit author is gone, that's good 👍
One small thing still there. Please check it.
Also please create PR to 2.3-develop branch, because it should be merged at first
Hi @rikwillems, |
Revert not needed changes
Fix static test failures
Fix statis test failures
Fix static test failure
Hi @ihor-sviziev, thank you for the review. |
@rikwillems thank you for contributing. Please accept Community Contributors team invitation here to gain extended permissions for this repository. |
…6_performance_sales_address_upgrade-v2
@rikwillems @ihor-sviziev there is not such column as "orderAddressId" in "sales_order_address" table, used in 'where' clause in https://github.com/magento/magento2/pull/19098/files#diff-0815805b2d40fcf0d22ebd639e0d73c4R247. Which will lead to an error during update. |
'quote_address_id' => $quoteAddresses[$orderAddress['quote_id']]['address_id'] ?? null, | ||
]; | ||
$where = [ | ||
'orderAddressId' => $orderAddress['entity_id'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'orderAddressId' => $orderAddress['entity_id'] | |
'entity_id' => $orderAddress['entity_id'] |
Hi @ihor-sviziev, thank you for the review. |
Hi @ihor-sviziev, thank you for the review. |
Hi @rikwillems, thank you for your contribution! |
Description (*)
Magento Commerce compatible fix for sales address upgrade script.
Fixed Issues (if relevant)
(comment)