Patch release notes for Workarea 3.2.13.
Fix Error in Image Collection When Missing Product Image Option
When a product image's option is explicitly set to
nil, an error
occurred in the
Workarea::ImageCollection when trying to determine
whether the option was selected. Ensure that
image.option is a String
prior to making this comparison to prevent a cryptic
Fix Error on Display of Email Content Updates in Activity Feed
When email content updates were displayed in the activity feed, a syntax
error was thrown due to a lack of parenthesis at the
else end of a ternary
statement in Haml. Once this error was resolved, however, a new error
would be thrown stating that
Content::Email#name was not a method.
Workarea now defines this method on
Content::Email as the titleized version of
#type, in order to view the activity feed for email content properly in admin.
Don't Send Status Email To Non Admins
If admin permissions are only partially removed from a user, status
emails can still be sent to email addresses which are no longer admins.
:admin status in addition to
finding emails to send status emails to.
Don't Send Refund Emails When Amount is Zero
When an order for $0.00 is refunded, a transactional email was sent indicating that the order had been refunded. The core system no longer does this, instead refraining to deliver the email if the refund amount is $0.00.
Autocomplete Product by ID and Variant SKUs in Admin Jump To Search
This regression was introduced in v3.2.0 when the product's ID from the
#search_text was removed in order to improve matching. That field is
full-text analyzed, and was causing incorrect matches to occur when
performing an admin search, but as a result of its removal, the "jump
to" autocomplete would no longer match on product ID or SKUs. These data
points have been added into the
#jump_to_search_text field, which is
not analyzed as fulltext, so that products can be matched by ID or
SKUs in the jump-to autocomplete.
Fix target="_blank" Omission from Links When Content is Edited
Adjusts wysihtml5 to use the correct method for preserving link
targets. This was previously called
preserve:, but the reference was
never adjusted when upgrading the library in v3. It has been adjusted to
any, which is the new syntax for doing the same thing.
Solved by Kristin Henson.