lat9 / edit_orders

Edit Orders: Updates for continued operation on Zen Cart v1.5.8 and later
GNU General Public License v2.0
5 stars 9 forks source link

Fatal error results if order's shipping module no longer exists #140

Closed lat9 closed 5 years ago

lat9 commented 5 years ago

If the shipping module used when the order was placed no longer exists on the site, a fatal error will result when the order is edited. This can happen, for instance, if a shipping module is removed during an upgrade and a pre-upgrade order is edited.

lat9 commented 5 years ago

Noting that I can't reproduce this; it might have been the result of attempting to edit an order prior to 'hitting' the admin's Modules->Shipping first (so that the no-longer present shipping module is removed from the configuration).