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

Fix issue with Mage/GoogleCheckout reference in Mage/Sales module #61

Closed
wants to merge 1 commit into from
Closed

Fix issue with Mage/GoogleCheckout reference in Mage/Sales module #61

wants to merge 1 commit into from

Conversation

IvanChepurnyi
Copy link
Contributor

Currently if you disable Mage/GoogleCheckout module, during checkout process there will be a fatal error since payment model of google checkout module that is marked as active gets retrieved. It is wrong behavior, since sales module shouldn't depend on a particular payment method.

The following pull request contain proper fix of that issue.

@magento-team
Copy link
Contributor

@IvanChepurnyi, thank you for the fix. You're right, that Sales module shouldn't depend on GoogleCheckout module.
Unfortunately we couldn't reproduce fatal error on checkout process with disabled GoogleCheckout module.
Could you provide more detailed test case with steps and actual result?

@IvanChepurnyi
Copy link
Contributor Author

Please remove Mage/GoogleCheckout module at all and then you will get a fatal error.

@magento-team
Copy link
Contributor

@IvanChepurnyi , thank you for the test case. You are right, it's reproduced if only Mage_GoogleCheckout module is removed.
The issue is fixed and will be available on GitHub with one of the next updates.
Also a test was added, which verifies all payment methods are declared in appropriate modules.

magento-team added a commit that referenced this pull request Sep 14, 2012
* Implemented the option to enable the single store mode in the system configuration, which simplifies the back-end GUI:
  * Hiding scope labels from the system configuration
  * Hiding the scope switcher from the CMS management pages and the system configuration
  * Hiding scope related fields from the system configuration
  * Hiding scope related columns and fields from the sales pages (order, invoice, shipment pages)
  * Hiding scope related fields from the promotions
  * Hiding scope related fields from the catalog pages
  * Hiding scope related columns and fields from the customers management page
  * Hiding scope related columns and fields from the customer and customer address attributes management pages
* Implemented the history management for the Visual Design Editor
* Implemented the user interface for themes management, which allows to list existing themes and add new ones
* Replaced all usages of the old JavaScript translations mechanism with the new jQuery one
* Refactored methods with high cyclomatic complexity
* Converted some surrogate integration tests into functional Selenium tests
* Converted some surrogate integration tests into unit tests
* Fixes:
  * Fixed inability to install application with a prefix defined for database tables
  * Fixed displaying fields with model name in the payment methods settings
  * Fixed performance degradation of the back-end menu rendering
  * Fixed absence of the success message upon newsletter template creation/deletion/queueing
  * Workaround for occasional segmentation fault in integration tests caused by `Mage_Core_Model_Resource_Setup_Migration`
* GitHub requests:
  * [#51](#51) -- fixed managing of scope-spefic values for Categories
  * [#56](#56) -- removed excessive semicolon in the CSS file
  * [#60](#60) -- fixed taking bind parameters into account in `Mage_Core_Model_Resource_Db_Collection_Abstract::getAllIds()`
  * [#61](#61) -- relocated declaration of the "Google Checkout" payment method into `Mage_GoogleCheckout` module from `Mage_Sales`
vpelipenko added a commit that referenced this pull request Jan 30, 2015
[Github] extra tests for current interception behavior #965
@stevieyu stevieyu mentioned this pull request Apr 3, 2015
@chrom chrom mentioned this pull request Oct 7, 2015
okorshenko pushed a commit that referenced this pull request Oct 29, 2015
[Merchant beta][Nord] Import/Export bugs fixes
@ghost ghost mentioned this pull request Oct 21, 2017
magento-engcom-team pushed a commit that referenced this pull request Aug 27, 2018
MAGETWO-91701: Newsletter subscription is not correctly updated when …
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants