Skip to content

Conversation

mhauri
Copy link

@mhauri mhauri commented May 16, 2018

Description

The Method get($type) in /Magento/InstantPurchase/Model/ShippingMethodChoose/DeferredShippingMethodChooserPool.php throws an Exception without showing the shipping method $type as it was hardcoded as 'chooser'.

Allowing null for properties in InstantPurchaseOption.php as they are null in the constructor by default.

Fixing PHPDocs as they refer to wrong Classes or have missing type declarations.

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)

@magento-engcom-team
Copy link
Contributor

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

magento-engcom-team added a commit that referenced this pull request May 25, 2018
…15258

 - Merge Pull Request #15258 from mhauri/magento2:backport-fixes-for-instantpurchase
 - Merged commits:
   1. 79887d7
magento-engcom-team pushed a commit that referenced this pull request May 25, 2018
Accepted Public Pull Requests:
 - #15460: Improvements to the CONTRIBUTING.md document (by @RebeccaBrocton)
 - #15421: Updated font-size variable and standardize #ToDo UI (by @vgelani)
 - #15422: Refactor JavsScript for UrlRewrite module edit page (by @patelnimesh1988)
 - #15435: [Backport] Removed redundant else statement (by @rogyar)
 - #15409: Prevent multiple add-to-cart initializations in case of ajax loaded product listing (by @vovayatsyuk)
 - #15211: Error 500 in Module Manager (by @flancer64)
 - #15340: Submitting search form (mini) with enter key fires event handlers bound by jquery twice (by @amjadm61)
 - #15364: Added language translation for comment tag (by @yogeshks)
 - #15371: Added language translation in template files (by @rahul-kachhadiya)
 - #15258: [backport] fixes for instant purchase module from #15257 (by @mhauri)
 - #15010: [BUGFIX] Added row_id to the flat action indexer so the value isn't s� (by @lewisvoncken)


Fixed GitHub Issues:
 - #15356: Refactore javascript for module URL rewrite (reported by @vgelani) has been fixed in #15422 by @patelnimesh1988 in 2.2-develop branch
   Related commits:
     1. 28642a6

 - #15192: Module Manager module grid is not working Magento 2.2.4 (reported by @jignesh-baldha) has been fixed in #15211 by @flancer64 in 2.2-develop branch
   Related commits:
     1. a95034a
     2. 131a458

 - #13793: Submitting search form (mini) with enter key fires event handlers bound by jquery twice (reported by @koenner01) has been fixed in #15340 by @amjadm61 in 2.2-develop branch
   Related commits:
     1. 153faa6

 - #15361: Comments are not translated for Signifyd module. (reported by @yogeshks) has been fixed in #15364 by @yogeshks in 2.2-develop branch
   Related commits:
     1. f295906
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.

3 participants