Opened 2 years ago
Closed 2 years ago
#2950 closed defect (fixed)
Null inventory in web_user_cart_item
| Reported by: | Kay Kittell | Owned by: | Kay Kittell |
|---|---|---|---|
| Priority: | medium | Milestone: | Server 2.3.9 |
| Component: | Public Website 2 | Version: | N/A |
| Severity: | Keywords: | ||
| Cc: | Database Engine: | N/A | |
| Operating System: | N/A |
Description
Users may have an older item in their cart that doesn't contain the inventory_id. This causes problems with the cart icon showing items not visible in cartview, order. It shows in the emails sent to the sites/user, it causes the user's order history to not show as it throws an error looking for a site as well as not being able to look it up in the report. It may cause other errors not yet identified.
Change History (4)
comment:1 by , 2 years ago
| Status: | new → addressed |
|---|
comment:2 by , 2 years ago
Also needed to modify web_order_history_detail to remove the primary key designation for any fields marked as such (site_id).
comment:3 by , 2 years ago
| Milestone: | → Server 2.3.9 |
|---|
comment:4 by , 2 years ago
| Resolution: | → fixed |
|---|---|
| Status: | addressed → closed |
Note:
See TracTickets
for help on using tickets.

Changed Cart.cs and web_order_request_item_list to not retrieve records where inventory_id is null. Those 2 changes appear to be all that's needed to keep items without an inventory_id from making it into a cart/order.