Workarea 3.0.19

Improves Bulk Action Performance

Uses a larger page size for bulk actions to reduce database queries and improve performance. Adds Workarea.config.bulk_action_per_page to configure the per-page value.

If after this change you find your bulk action workers are using too much memory, reduce the value.

Issues

Pull Requests

Commits

Fixes Region Selection in Storefront Address Forms

Storefront address forms could select the wrong region on page load. This change updates WORKAREA.addressRegionFields to consider country when selecting the region, which fixes the issue.

Issues

Pull Requests

Commits

Fixes Product Rule Preview When Updating a Rule

When editing an existing product rule (e.g. when editing a category), the preview could show incorrect matches. This change modifies the Admin product rules controller to fix the issue.

Issues

Pull Requests

Commits

Fixes Mapping Errors on Category Percolations

Category percolations could raise errors due to unmapped fields. To prevent this issue, this change modifies the workarea:search_index:storefront Rake task to index products representing all unique filters before indexing categories.

Issues

Pull Requests

Commits

Fixes Saving Order Details to New User

Under certain circumstances, order details could incorrectly be saved to a new user account created by the customer while the completed order cookie is still present in the customer's browser. To prevent this, this change skips saving order details to the user if the user email and completed order email don't match. And it deletes the completed order cookie when the user logs out.

Issues

Pull Requests

Commits

Fixes Automatically Logging Out Customers

A scenario was discovered in which customers could automatically be logged out. This change modifies the Core authentication controller to fix the issue.

Issues

Pull Requests

Commits

Displays a Warning When MongoDB "No Table Scan" is Set in Non-Test Environments

When running in test environments, Workarea sets MongoDB's notablescan parameter in order to detect unindexed queries. Some developers have reported this parameter turned on in non-test environments, presumably because a test run was interrupted before it could unset the parameter. This change adds a warning when notablescan is set in non-test environments. The warning message provides instructions to unset the parameter.

Issues

Pull Requests

Commits

Fixes Unclosed MongoDB Connections

MongoDB connections opened to set notablescan were not being closed. This change fixes the issue.

Issues

Commits

Fixes Content Editor Delay in Development

In multi-threaded development environments, the Admin content editor is often slow to load because it is waiting for iframes to load, but those iframes contain errors preventing them from loading. This change handles those errors and considers the iframes loaded so the content editor can be displayed more quickly. You can avoid these errors entirely by running a single-threaded server in development.

Issues

Pull Requests

Commits

Now on GitHub