Patch release notes for Workarea 3.1.41.
Sidekiq::Callbacks Worker State after Error
If an error is raised in the block of a
configuration, the enabled/disabled (or async/inline) state would previously
not be restored. This resulted in background jobs randomly not running.
To fix this, Workarea now ensures that the state is restored at the end
of temporary configuration blocks passed to
Fix Typo in CSS for Content Preview Visibility
position: initial is spelled correctly so the
content-preview-visibility-state() mixin defined in this file
Discovered (and solved) by Kristin Everham. Thanks Kristin!
Fix Date Selector Dropping Below Workflow Bar
Center browsing control filter dropdowns with respect to their trigger. This allows more flexibility for use outside of the traditional browsing control UI. Also, Display Browsing Controls & Filters above the workflow bar.
Always Fire Analytics Events in Development
When developing or testing an application, analytics events should always fire so that admins can still test their code without any confusing results.
Disable Shipping Method Selection When Processing
Prevent shipping method from getting selected when Workarea is still
pricing the order. Additionally, set the
to '1' in order to prevent any other parallel shipping estimate requests from
causing a locked order and showing strange errors to the user, including
flashes of error text and incorrect shipping price totals in the
summary. By disabling the radio input whenever a shipping service is
selected, and re-enabling it when the request is complete, the scenario
of obtaining an incorrect shipping price and thus being kicked back to
shipping to re-select is no longer possible to trigger. Ensure order locking
doesn't redirect the user to the
/cart route, which is not protected by
#with_order_lock, and can potentially cause a race condition in pricing.
Allow Orders to be Indexed without a
Some fraud management solutions index verified orders into the admin
search without a date in the
placed_at field, since the order isn't
officially "placed" until the fraud management service says so. Ensure
that this doesn't break the orders index page in admin by conditionally
placed_at if it exists.
Fix Release Publishing After Removing Date to Publish
When a Release is scheduled to publish in the future, a
Workarea::PublishRelease is scheduled in the background, wherein it
will be picked up by Sidekiq at the time it's supposed to be released.
However, when removing the
:publish_at date from the release in admin
(or anywhere else), this job was not getting removed from Sidekiq, and
thus would publish at the date it was formerly scheduled to release at.
Workarea now removes this extra job from the scheduler as well as its
undo job, so that the release will not accidentally affect data in the