Workarea 3.1.24

Patch release notes for Workarea 3.1.24.

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 NoMethodError from occurring.

Issues

Pull Requests

Commits

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.

Issues

Pull Requests

Commits

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. Check :admin status in addition to :status_email_recipient when finding emails to send status emails to.

Issues

Pull Requests

Commits

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.

Issues

Pull Requests

Commits

Now on GitHub