dynamic / foxystripe

FoxyStripe is a SilverStripe ecommerce module that integrates with FoxyCart.
http://foxystripe.org
BSD 3-Clause "New" or "Revised" License
8 stars 11 forks source link

BUG Product::onBeforeDelete() checks against non-existent db field Status #393

Closed muskie9 closed 2 years ago

muskie9 commented 5 years ago

This is a legacy field that is no longer valid. The result is a false positive in the if check on whether a Product is published or not.

Ideally Product Options shouldn't be fully removed in the event a Product is restored, currently the Product Options would be unrecoverable.