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

[Forwardport] [TASK] Fix overriding of payment methods in getPaymentMethodList #15134

Merged

Conversation

mzeis
Copy link
Contributor

@mzeis mzeis commented May 10, 2018

Original Pull Request

#15032
Fixes Issue #13460, keeps changes from pull request #12284

Description

This fix only sets the value of a group if it doesn't already exist when calling \Magento\Payment\Helper\Data::getPaymentMethodList with parameter $withGroups = true.

Fixed Issues

#13460
#12284

Manual testing scenarios

  1. Call method \Magento\Payment\Helper\Data::getPaymentMethodList
  2. Value of group e.g. "offline" in $labelValues doesn't get set to null because there are already group-related values such as "checkmo".

@rogyar
Copy link
Contributor

rogyar commented May 10, 2018

Hi @mzeis. I'm afraid the committed change doesn't correspond the PR title and description. Looks like it's more about the following PR

#15127

@VladimirZaets VladimirZaets self-assigned this May 10, 2018
@VladimirZaets
Copy link
Contributor

@mzeis Please, revert changes and make force push with the right commit message.

@mzeis mzeis force-pushed the 2.3-develop-PR-port-15032 branch from 3243096 to 971e303 Compare May 10, 2018 17:08
@mzeis
Copy link
Contributor Author

mzeis commented May 10, 2018

Thanks @rogyar for catching this and sorry for the confusion. This was caused by a stupid copy & paste mistake.

@VladimirZaets this should be correct now, hopefully.

@magento-engcom-team
Copy link
Contributor

Hi @mzeis. Thank you for your contribution.
Changes from your Pull Request will be available with the upcoming 2.3.0 release.

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.

4 participants