Magento 1.9.3.4 (SUPEE-9767 V2)

SUPEE 9767

Nueva versión de Mage… bueno, nueva versión del parche en realidad. ¿Se acuerdan del parche SUPEE-9767?.

El parche tuvo algunos problemas (en algunos casos) y es por eso que desde hacer unas horas tenemos versión 2.

Sin lugar a dudas, la sugerencia es que apliquen el parche.

Para esto, primero hay que revertir el parche anterior. Por ejemplo, en un Magento 1.9.2.2 que tengo el gusto de monitorear, el proceso fue:

sh PATCH_SUPEE-9767_CE_1.9.3.0_v1-2017-05-25-09-09-56.sh -R

Fundamental el -R usando el parche aplicado originalmente. Esto lo que hará será revertir todos los campos que se hubieran introducido.

El output de ese comando fue:

	modificado:    app/code/core/Mage/Admin/Model/Session.php
	borrado:       app/code/core/Mage/Adminhtml/Block/Checkout/Formkey.php
	borrado:       app/code/core/Mage/Adminhtml/Block/Notification/Symlink.php
	modificado:    app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Filter/Date.php
	modificado:    app/code/core/Mage/Adminhtml/Model/Config/Data.php
	modificado:    app/code/core/Mage/Adminhtml/controllers/Catalog/Product/GalleryController.php
	modificado:    app/code/core/Mage/Checkout/controllers/MultishippingController.php
	modificado:    app/code/core/Mage/Checkout/controllers/OnepageController.php
	modificado:    app/code/core/Mage/Checkout/controllers/OnepageController.php.orig
	modificado:    app/code/core/Mage/Checkout/etc/system.xml
	modificado:    app/code/core/Mage/Cms/Model/Wysiwyg/Images/Storage.php
	modificado:    app/code/core/Mage/Cms/Model/Wysiwyg/Images/Storage.php.orig
	modificado:    app/code/core/Mage/Core/Controller/Front/Action.php
	modificado:    app/code/core/Mage/Core/Controller/Request/Http.php
	modificado:    app/code/core/Mage/Core/Model/File/Validator/Image.php
	modificado:    app/code/core/Mage/Core/Model/File/Validator/Image.php.orig
	modificado:    app/code/core/Mage/Core/etc/system.xml
	modificado:    app/code/core/Mage/Customer/Model/Session.php
	modificado:    app/code/core/Mage/Dataflow/Model/Convert/Adapter/Zend/Cache.php
	modificado:    app/code/core/Mage/Dataflow/Model/Convert/Container/Abstract.php
	modificado:    app/code/core/Mage/Dataflow/Model/Convert/Parser/Csv.php
	modificado:    app/code/core/Mage/Dataflow/Model/Convert/Parser/Xml/Excel.php
	modificado:    app/code/core/Mage/ImportExport/Model/Import/Uploader.php
	modificado:    app/code/core/Mage/Sales/Model/Quote/Item.php
	modificado:    app/code/core/Mage/Widget/Model/Widget/Instance.php
	modificado:    app/code/core/Mage/XmlConnect/Helper/Image.php
	modificado:    app/code/core/Mage/XmlConnect/controllers/Adminhtml/MobileController.php
	modificado:    app/design/adminhtml/default/default/layout/main.xml
	borrado:       app/design/adminhtml/default/default/template/notification/formkey.phtml
	borrado:       app/design/adminhtml/default/default/template/notification/symlink.phtml
	modificado:    app/design/adminhtml/default/default/template/page/head.phtml
	modificado:    app/design/frontend/base/default/template/checkout/cart/shipping.phtml
	modificado:    app/design/frontend/base/default/template/checkout/multishipping/billing.phtml
	modificado:    app/design/frontend/base/default/template/checkout/multishipping/shipping.phtml
	modificado:    app/design/frontend/base/default/template/checkout/onepage/billing.phtml
	modificado:    app/design/frontend/base/default/template/checkout/onepage/payment.phtml
	modificado:    app/design/frontend/base/default/template/checkout/onepage/payment.phtml.orig
	modificado:    app/design/frontend/base/default/template/checkout/onepage/shipping.phtml
	modificado:    app/design/frontend/base/default/template/checkout/onepage/shipping_method.phtml
	modificado:    app/design/frontend/base/default/template/persistent/checkout/onepage/billing.phtml
	modificado:    app/design/frontend/rwd/default/layout/page.xml
	modificado:    app/design/frontend/rwd/default/template/checkout/cart/shipping.phtml
	modificado:    app/design/frontend/rwd/default/template/checkout/multishipping/addresses.phtml
	modificado:    app/design/frontend/rwd/default/template/checkout/multishipping/billing.phtml
	modificado:    app/design/frontend/rwd/default/template/checkout/onepage/payment.phtml
	modificado:    app/design/frontend/rwd/default/template/checkout/onepage/payment.phtml.orig
	modificado:    app/design/frontend/rwd/default/template/checkout/onepage/shipping.phtml
	modificado:    app/design/frontend/rwd/default/template/persistent/checkout/onepage/billing.phtml
	modificado:    app/etc/applied.patches.list
	modificado:    app/etc/config.xml
	borrado:       js/lib/jquery/jquery-1.12.0.js
	borrado:       js/lib/jquery/jquery-1.12.0.min.js
	borrado:       js/lib/jquery/jquery-1.12.0.min.map
	modificado:    js/varien/payment.js
	modificado:    skin/frontend/base/default/js/opcheckout.js
	modificado:    skin/frontend/base/default/js/opcheckout.js.orig

Y ahora, aplicamos el nuevo parche.

sh PATCH_SUPEE-9767_CE_1.9.3.0_v2-2017-07-11-11-04-56.sh

Si controlo ahora (gracias git status), la lista de archivos que se modificaron es:

 	modificado:    app/code/core/Mage/Checkout/controllers/OnepageController.php
	modificado:    app/code/core/Mage/Core/Model/File/Validator/Image.php
	modificado:    app/code/core/Mage/Core/etc/config.xml
	modificado:    app/code/core/Mage/Core/etc/system.xml
	modificado:    app/design/adminhtml/default/default/layout/main.xml
	modificado:    app/design/adminhtml/default/default/template/notification/formkey.phtml
	modificado:    app/design/adminhtml/default/default/template/notification/symlink.phtml
	modificado:    app/design/adminhtml/default/default/template/oauth/authorize/head-simple.phtml
	modificado:    app/design/frontend/base/default/template/checkout/multishipping/addresses.phtml
	modificado:    app/design/frontend/base/default/template/checkout/onepage/payment.phtml
	modificado:    app/design/frontend/rwd/default/template/checkout/onepage/payment.phtml
	modificado:    app/etc/applied.patches.list
	modificado:    app/etc/config.xml

Archivos nuevos:

	app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Symlink.php
	app/code/core/Mage/Core/sql/core_setup/upgrade-1.6.0.6.1.1-1.6.0.6.1.2.php

Y esto debería ser (si no tienen muy tocado el checkout) todo.

Si, por otra parte, comparamos la diferencia de archivos entre Magento 1.9.3.3 y Magento 1.9.3.4, veríamos que los archivos que difieren son:

	modificado:    RELEASE_NOTES.txt
	modificado:    app/Mage.php
	modificado:    app/code/core/Mage/Checkout/controllers/OnepageController.php
	modificado:    app/code/core/Mage/Core/Model/File/Validator/Image.php
	modificado:    app/code/core/Mage/Core/etc/config.xml
	modificado:    app/code/core/Mage/Core/etc/system.xml
	modificado:    app/design/adminhtml/default/default/layout/main.xml
	modificado:    app/design/adminhtml/default/default/template/oauth/authorize/head-simple.phtml
	modificado:    app/design/frontend/base/default/template/checkout/multishipping/addresses.phtml
	modificado:    app/design/frontend/base/default/template/checkout/onepage/payment.phtml
	modificado:    app/design/frontend/rwd/default/template/checkout/onepage/payment.phtml
	modificado:    downloader/Maged/Connect.php
	modificado:    downloader/Maged/Controller.php
	modificado:    downloader/lib/Mage/Connect/Package.php
	modificado:    downloader/lib/Mage/Connect/Validator.php
	modificado:    lib/Mage/Connect/Package.php
	modificado:    lib/Mage/Connect/Validator.php

Archivos nuevos:

	app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Symlink.php
	app/code/core/Mage/Core/sql/core_setup/upgrade-1.6.0.6-1.6.0.7.php

Para aquellos que aún no hubieran recibido el mail (a veces pasa), aquí una captura:

Anuncio SUPEE 9767 V2

Happy patching!