Skip to content

Conversation

@NadiyaS
Copy link
Contributor

@NadiyaS NadiyaS commented Apr 7, 2020

Description

Assign patches for PayPal, Braintree and Authorize.net to appropriate Magento modules

Fixed Issues (if relevant)

  1. https://jira.corp.magento.com/browse/MCLOUD-5666

Manual testing scenarios

There are 4 patches were unassigned from magento/magento2-base and assigned to modules they change:
A MAGETWO-53941__fix_enterprise_paypal_codes__100.1.6.patch for module-paypal
B. MC-31387__fix_paypal_issue_with_region__100.3.4.patch for module-paypal
C. MAGETWO-98129__transaction_field_is_removed_by_authorize_net__100.2.0.patch for module-autorizenet
D. MAGETWO-53941__fix_enterprise_braintree_code__100.1.6.patch for module-braintree

  1. Check applying patches on next Magento versions:
  • 2.1.7 - none of the patches applied
  • 2.1.8 - patch A and D applied
  • 2.1.18 - patch A and D applied
  • 2.2.0 - only patch C applied
  • 2.2.7 - only patch C applied
  • 2.2.8 - none of the patches applied
  • 2.3.4 - Patch B applied
  1. Uninstall modules magento/module-paypal, magento/module-braintree and magento/module-autorizenet. Check on next Magento versions that none of those patches applied and deployment was finished without errors:
    2.1.8, 2.2.0, 2.3.4

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)

releasenotes
Updated patch assignment for payment method patches to target the payment modules instead of the Magento base package (magento/magento2-base) so that the payment patches are applied only if the payment modules exist.

@mveeramneni mveeramneni added the Progress: review PR/issue status label Apr 8, 2020
arhiopterecs
arhiopterecs previously approved these changes Apr 9, 2020
oshmyheliuk
oshmyheliuk previously approved these changes Apr 9, 2020
@@ -0,0 +1,50 @@
<+>UTF-8

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@NadiyaS shouldn't this part be removed from https://github.com/magento/magento-cloud-patches/blob/7beeb00e34d607471c527b00cfe9d0803fbac04c/patches/MAGETWO-53941__fix_enterprise_paypal_codes__100.1.6.patch as you separated it?

Also, why we started adding encoding into patches? Never seen UTF-8 in patches before.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@YPyltiai thank you for pointing this out. I did not push that commit where I removed this and updates in the patch for PP

@NadiyaS NadiyaS dismissed stale reviews from oshmyheliuk and arhiopterecs via 1e97a79 April 10, 2020 15:24
@mveeramneni mveeramneni self-assigned this Apr 10, 2020
@mveeramneni
Copy link

QA Approved

@BaDos BaDos added the Progress: approved PR/issue status label Apr 15, 2020
@BaDos BaDos merged commit 63f7b35 into develop Apr 15, 2020
@BaDos BaDos deleted the MCLOUD-5666 branch April 15, 2020 21:42
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