Skip to content

Instantly share code, notes, and snippets.

View piotrekkaminski's full-sized avatar

Piotr Kaminski piotrekkaminski

View GitHub Profile
@piotrekkaminski
piotrekkaminski / PATCH_SUPEE-1800_EE_1.12.0.2_v1_v1.sh
Created October 6, 2014 19:46
Issues with customer created_at dates
#!/bin/bash
# Patch apllying tool template
# v0.1.2
# (c) Copyright 2013. Magento Inc.
#
# DO NOT CHANGE ANY LINE IN THIS FILE.
# 1. Check required system tools
_check_installed_tools() {
local missed=""
@piotrekkaminski
piotrekkaminski / PATCH_SUPEE-389_EE_1.12.0.2_v2.sh
Created September 5, 2014 20:18
SUPEE-389: Every time the catalog URL is rendexed, a new custom rewrite is created
#!/bin/bash
# Patch apllying tool template
# v0.1.2
# (c) Copyright 2013. Magento Inc.
#
# DO NOT CHANGE ANY LINE IN THIS FILE.
# 1. Check required system tools
_check_installed_tools() {
local missed=""
@piotrekkaminski
piotrekkaminski / PATCH_SUPEE-3762_EE_1.14.0.1_v1.sh
Created July 11, 2014 23:44
SUPEE-3762: Navigating to the SOAP V2 WSDL and index page causes only the install page to display
#!/bin/bash
# Patch apllying tool template
# v0.1.2
# (c) Copyright 2013. Magento Inc.
#
# DO NOT CHANGE ANY LINE IN THIS FILE.
# 1. Check required system tools
_check_installed_tools() {
local missed=""
@piotrekkaminski
piotrekkaminski / PATCH_SUPEE-3203_EE_1.13.1.0_v1.sh
Created July 11, 2014 23:32
SUPEE-3202: Bundle Products Error: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'selection_id' cannot be null
#!/bin/bash
# Patch apllying tool template
# v0.1.2
# (c) Copyright 2013. Magento Inc.
#
# DO NOT CHANGE ANY LINE IN THIS FILE.
# 1. Check required system tools
_check_installed_tools() {
local missed=""
#!/bin/bash
# Patch apllying tool template
# v0.1.2
# (c) Copyright 2013. Magento Inc.
#
# DO NOT CHANGE ANY LINE IN THIS FILE.
# 1. Check required system tools
_check_installed_tools() {
local missed=""
diff --git a/app/code/core/Mage/Core/Model/Url/Rewrite/Request.php b/app/code/core/Mage/Core/Model/Url/Rewrite/Request.php
index 773c781..4801473 100644
--- a/app/code/core/Mage/Core/Model/Url/Rewrite/Request.php
+++ b/app/code/core/Mage/Core/Model/Url/Rewrite/Request.php
@@ -140,7 +140,7 @@ class Mage_Core_Model_Url_Rewrite_Request
$fromStore = $this->_request->getQuery('___from_store');
if (!$this->_rewrite->getId() && $fromStore) {
- $stores = $this->_app->getStores();
+ $stores = $this->_app->getStores(false, true);
@piotrekkaminski
piotrekkaminski / Magento Community Edition Security Issue Patch
Created December 11, 2013 06:37
Please see file below for version to patch mapping information.
No need to install this patch for Magento Community Edition version 1.8.0.0 or later
PATCH_SUPEE-2530_CE_1.4.0.0-1.4.0.1_v1.sh for:
CE v1.4.0.0
CE v1.4.0.1
PATCH_SUPEE-2529_CE_1.4.1.0-1.5.0.1_v1.sh for:
CE v1.4.1.0
CE v1.4.1.1
CE v1.4.2.0