Workarea 3.3.24

Patch release notes for Workarea 3.3.24.

Fix Occasionally Failing Test Around Marking Discounts Redeemed

Specify a sort so that MongoDB doesn't use its own default sort, causing entries in the collection to appear out-of-order and the test to fail inconsistently.

Issues

Pull Requests

Fix Slow Export Samples for Large Collections

The skip that is done to get random samples can be quite slow if MongoDB needs to page. Instead, Workarea now grabs the first N entries in the collection, since they don't really need to be random.

Issues

Pull Requests

Inherit from ApplicationController Consistently

All admin controllers now inherit from Admin::ApplicationController. Some autoloading edge cases caused this indented module reference to not get picked up properly.

Issues

Pull Requests

Fix Bulk Edit/Delete Entries Not Appearing in Trash

A carry-over from the v2.x days, Mongoid::AuditLog entries were not recorded when performing within background jobs. Since bulk actions occur in the background, entries for documents edited/deleted in this manner were not appearing in the trash, and therefore not possible to restore without developer intervention. This constraint is now removed, and items deleted/edited within a bulk action will now appear as individual items in the trash, and attributed to the user who performed the bulk action.

Issues

Pull Requests

Now on GitHub