Patch release notes for Workarea 3.0.40.
Prevent Creation of Invalid Search Customizations
Block saving of customizations when not valid. Return error message back to the user.
Load Mailer Previews From Plugins and Applications
New or modified previews were not being automatically included in plugins and host applications, resulting in custom previews not displaying. To resolve this issue, Workarea now loads all mailer previews at the same time.
Lock Orders Before Checking Inventory On Items
Prevents concurrency issues where inventory causes items to be removed
from the order while it's being placed. The
callback now runs before
:check_inventory, ensuring that an order's
lock status is known prior to editing it.
Specify JSON Format in Product List Content Block Partial
Part of a larger issue with Rails template overrides, previously this
could be caused by overriding the
workarea/admin/catalog_products/index.html.haml view without
overriding its corresponding
index.json.jbuilder. The index
HTML template now includes a
format: :json in the path so that this
cannot happen if one forgets to override a JSON template corresponding
to their HTML template.
Fix Overriding SVG Icons in Style Guides
SVG icons could not be overridden in the style guides, instead, the icon
would just be appended to the end of the list, leaving the original icon
in place. Update the
#style_guide_icons helper to ensure only 1 of each
filename exists, so icons will appear to override each other in the
Add Proper Link Class To Facet Partial Links
The facet partial links in the Result Filters UI didn't have the right
class name associated with their elements. Workarea now uses a
class name for these elements.