mquan / turbo-issues

bug tracking for turbo
0 stars 0 forks source link

Removing menu/products will cause error to orders with those objects #41

Open mquan opened 12 years ago

mquan commented 12 years ago

It's not practical to archive all menus and products ever created/modified. Just think up a way for this to fail silently when product/menu can't be found.

Basically client will throw: Uncaught Adapter is either null or does not implement find method , so just implement find method in adapter and return nothing.

mquan commented 12 years ago

A simple solution is to cache item's total price and product's name. This type of error is only relevant in Dashboard