Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#2330 closed defect (fixed)

Change Datatype of web_order_request_item.quantity_shipped

Reported by: Benjamin Haag Owned by: Benjamin Haag
Priority: blocker Milestone: Server 2.1.1
Component: Database, Schema Changes Version: N/A
Severity: Keywords:
Cc: Database Engine: N/A
Operating System: N/A

Description

The datatype of all quantity columns must be DECIMAL(18,5). Because web_order_request_item.quantity_shipped is currently an INT, web orders are failing to submit.

Change History (7)

comment:1 by Benjamin Haag, 5 years ago

Owner: changed from Kay Kittell to Benjamin Haag
Status: new → assigned

comment:2 by Benjamin Haag, 5 years ago

The following SQL has been run on DEV, TRAINING, and PROD:

ALTER TABLE web_order_request_item
ALTER COLUMN quantity_shipped DECIMAL(18,5)

comment:3 by Benjamin Haag, 5 years ago

Resolution: → fixed
Status: assigned → closed

comment:4 by Benjamin Haag, 5 years ago

Ran additional script:
ALTER TABLE web_user_cart_item
ALTER COLUMN quantity DECIMAL(18,5)

comment:5 by Benjamin Haag, 5 years ago

Based on 8/4 dev team meeting, ran the following script to revert change to web_user_cart_item:
ALTER TABLE web_user_cart_item
ALTER COLUMN quantity INT

comment:6 by Kurt Endress, 5 years ago

Milestone: → Server 2.1.1

comment:7 by Kurt Endress, 5 years ago

Component: Public Website 2 → Database, Schema Changes
Note: See TracTickets for help on using tickets.