Magento Commerce 2.0.17 Release Notes

Patch code and release notes were published on November 7, 2017.

We are pleased to present Magento Commerce 2.0.17. This release includes almost 40 security fixes and enhancements to your Magento software.

Highlights

Magento 2.0.17 contains almost 40 security fixes and enhancements. Look for the following highlights in this release:

  • ability to implement translations from themes. We’ve also significantly reduced JavaScript-related translation issues.

  • improvements to how the PayPal Express Checkout payment method processes virtual products.

  • multiple enhancements to product security. See Magento Security Center for more information.

Security enhancements

Magento 2.0.17 includes multiple security enhancements. Although this release includes these enhancements, no confirmed attacks related to these issues have occurred to date. However, certain vulnerabilities can potentially be exploited to access customer information or take over administrator sessions, so we recommend that you upgrade your Magento software to the latest version as soon as possible.

See Magento Security Center for more information.

Known issue

  • Magento continues to display the Close button after you open an image in the Product page in fullscreen mode, then close it.

Fixed issues

Cart

  • Magento now permits a customer to share a shopping cart between the store views of the same website, but not between store views of different websites. Previously, Magento did not clear the contents of a shopping cart when the customer switched between store views on different websites.

Catalog

  • You can now create a blank attribute option using the drop-down input option on products that do not require an attribute.  GitHub-3545GitHub-5485GitHub-4910
  • The category/product indexer now successfully completes a full reindexing of all indexes on large profiles with 500,000 or more products. Previously, Magento successfully generated a large profile, but failed to complete the reindexing of the categories or products, and displayed the following error: “Error 1114: Table is full”.
  • The storefront now displays images that Magento resizes during product save operations, rather than resizing the product on the storefront. Previously, the image path contained store_id, and during save operations, Magento resized images for the default store only. 
  • When you delete an image in the Admin, Magento no longer deletes it on the server. Previously, Magento deleted it from the server as well, which caused errors for other products (example error message: Cannot gather stats! Warning!stat(): stat failed for).
  • You can now use the WYSIWYG editor to update product descriptions. Previously, when you used the editor to update descriptions, Magento did not apply your changes.
  • The product attribute category_ids can have only Global scope. Previously, you could change the scope value of category_ids to Store.
  • The \Magento\CatalogInventory\Model\Stock\Status::getStockId() call now returns the stock ID as expected. Previously, it returned the website ID.

Configurable products

  • Sorting configurable products by price now works as expected when a simple product has a special price. GitHub-4778
  • Magento now saves and filters configurable products by their specific options.
  • Magento now displays all images associated with a selected swatch before it displays other images associated with the configurable product. Previously, Magento did not display all images. GitHub-6195, GitHub-4101
  • The Add Products Manually option now lets you add existing products as well as generate new variations.

Framework

  • Widgets now accept UTF-8 special characters type as input parameters. Previously, you could successfully create a widget, but UTF-8 special characters were broken. GitHub-4232
  • Static file generation is no longer affected by a race condition that affected merging CSS files. Previously, this race condition interfered with the proper generation of the product front end.

General

  • Magento now moves the sequence_* table to the correct database after implementing a split database.
  • When you edit a product list widget on a CMS page, Magento now shows previously set conditions. Previously, when you tried to edit a product list widget, the condition parameter was empty. GitHub-6616
  • The Print Shipping Label link now displays on the product front end. Previously, the layout for the Shipping and Tracking block did not work properly.
  • Enabling Admin > Stores > Configuration > Advanced > Developer > Merge CSS files no longer degrades product performance. Previously, enabling this setting slowed down both frontend and Admin processes. GitHub-4321
  • Magento no longer generates incorrect URLs in the site map when the Use Secure URLs in Admin setting is set to Yes. GitHub-8644 
  • Directive values can now be escaped with quotation marks. Previously, all characters after quotation marks were removed after a save, which resulted in the failure to save widget conditions. GitHub-3860 
  • We’ve resolved multiple issues with inline translations in the checkout page.
  • Magento now correctly calculates a bundle product’s price even when it contains only one product in a required product option. Previously, if a bundle product contained only one product in an option, Magento did not update the price. GitHub-4446
  • Cron errors no longer occur when reward points are avaiable and the Subscribe for Points Expiration Notifications setting is set.
  • We’ve fixed an issue with the PayPal ExpressCheckout functional test.
  • Magento no longer uses the wrong address template for shipping, invoice and credit memo emails when second website has a different template.
  • Inline translation is now available for button elements.
  • Log entries no longer show the current_password field, which should be hidden.
  • Backtrace information no longer appears on the frontend.

Gift card

  • Customers can no longer exceed a gift card balance by using the gift card twice.

Gift message

  • Gift message options are no longer available at the order level when you’ve disabled them in the Admin.

Gift wrap

  • Your gift wrapping selection now appears in the shopping cart regardless of whether you’ve selected a shipping method. Previously, Magento did not display your gift wrapping choice until you selected a shipping method.
  • Magento no longer displays the gift wrap tax when no gift wrap is selected.

Import/export

  • We’ve improved the performance of importing up to 100,000 products from the Admin.
  • Magento now maintains super attribute ordering of configurable products with multiple super attributes after export or import. Previously, after import or export, the ordering of super attributes was not maintained. GitHub-6079
  • We’ve fixed an issue where product URL keys (for SKUs) were not auto-generated as expected during import.
  • Magento now imports customer data as expected after the data passes the pre-import validation step. Previously, although data passed this validation step, an error would occur during import, and Magento displayed this message: Invalid data for insert. GitHub-4921GitHub-9469

Order management

  • Magento now uses the address template from store view level of the placed order (similar to how order confirmation email works). Previously, Magento used the wrong address template for order e-mails.

Shipping

  • The Free Shipping rule now works correctly with the table shipping method. Previously, Magento displayed an error at checkout (This shipping method is not available. To use this shipping method, please contact us.) instead of assigning a $0 shipping rate. GitHub-6346

TargetRule

  • Magento now saves a new product rule when its SKU attribute is enabled for Use for Promo Rule Conditions. Previously, you could not save a new rule under these conditions. 
  • You can now base a Related Product rule on a product attribute, such as color.

Web API Framework

  • The SOAP API no longer fails after you run bin/magento setup:di:compile.
  • You can now use REST to successfully update customer information without unintentionally deleting default billing and shipping address information.
  • You can now use REST to add a video to a product description. GitHub-7153

System requirements

Our technology stack is built on PHP and MySQL. See System Requirements.

Install the Magento software

See one of the following sections:

Get Magento Commerce using Composer

This software is available from repo.magento.com. Before installing the Magento Commerce software using Composer, familiarize yourself with these prerequisites, then run:

composer create-project --repository-url=https://repo.magento.com/ magento/project-enterprise-edition=<version> <installation directory name>

where <version> matches the version you want (for example, 2.0.10)

For example, to install 2.0.10 in the magento2 directory:

composer create-project --repository-url=https://repo.magento.com/ magento/project-enterprise-edition=2.0.10 magento2

Get Magento Commerce using a compressed archive

The following table discusses where to get the Magento software. We provide the following downloads:

  • Magento Commerce software only
  • Magento Commerce software with sample data (designed to help you learn Magento faster)

These packages are easy to get and install. You don’t need to use Composer, all you need to do is to upload a package to your Magento server or hosted platform, unpack it, and run the web-based Setup Wizard.

Archives are available in the following formats: .zip, .tar.bz2, .tar.gz

To get the Magento Commerce archive:

  1. Go to your account on magento.com.
  2. Log in with your Magento user name and password.
  3. In the left navigation bar, click Downloads.
  4. In the right pane, click Magento Commerce 2.X > Full Release or Magento Commerce 2.X > Full Release + Sample Data for the software.
  5. Follow the instructions on your screen to complete the Magento Commerce download:

    • Magento-EE-<version>.* (without sample data)
    • Magento-EE-<version>+Samples.* (with sample data)
  6. Transfer the installation package to your development system.

Complete the installation

After you get the Commerce software:

  1. Set file system ownership and permissions.
  2. Install the Magento software:

Upgrade from an earlier version

To upgrade to version 2.0.x from an earlier version:

Migration toolkits

The Data Migration Tool helps transfer existing Magento 1.x store data to Magento 2.x. This command-line interface includes verification, progress tracking, logging, and testing functions. For installation instructions, see Install the Data Migration Tool. Consider exploring or contributing to the Magento Data Migration repository.

An updated version of this toolkit is typically available several days after the patch release.

The Code Migration Toolkit helps transfer existing Magento 1.x store extensions and customizations to Magento 2.0.x. The command-line interface includes scripts for converting Magento 1.x modules and layouts.

Credits

Dear community members, thank you for your suggestions and bug reports.