Opened 6 years ago

Closed 6 years ago

#2083 closed defect (fixed)

Order with no items from the PW

Reported by: dbmulg Owned by: Benjamin Haag
Priority: medium Milestone:
Component: Database, Data Updates Version: N/A
Severity: Keywords:
Cc: Database Engine: N/A
Operating System: N/A

Description

order e-mail is sent but there are no items and it does not show up on the weborder wizard

Attachments (2)

Trac_2083_Verification.sql​ (455 bytes ) - added by Benjamin Haag 6 years ago.
SQL that identifies records to be corrected.
Trac_2083.sql​ (7.5 KB ) - added by Benjamin Haag 6 years ago.
Resolves the problem identified by attached verification SQL statement.

Download all attachments as: .zip

Change History (7)

comment:1 by dbmulg, 6 years ago

Priority: minor → medium

changed code in order page to check and reload cart from database to prevent 'order with no item' case from happening.

comment:2 by dbmulg, 6 years ago

Found out the real cause of the issue is for PW 2.0.3.0, when user adds item to the cart from accessiondetail page, the accession's form_code is entered into the database not as code value (for example SD), but as the description for the code (for example Seed), this caused order process failed to make the match, and skipped adding the item.

PW 2.0.3.1 fixed this problem when fixing multiform issue.

we need to correct data in the web_user_cart_item table so the wrong data entered during the time between PW 2.0.3.0 and PW 2.0.3.1 is corrected.

reassign to DBA to fix the data

comment:3 by dbmulg, 6 years ago

Owner: changed from dbmulg to Benjamin Haag

by Benjamin Haag, 6 years ago

Attachment: Trac_2083_Verification.sql​ added

SQL that identifies records to be corrected.

by Benjamin Haag, 6 years ago

Attachment: Trac_2083.sql​ added

Resolves the problem identified by attached verification SQL statement.

comment:4 by Benjamin Haag, 6 years ago

Ran attached SQL statements on production.

comment:5 by Benjamin Haag, 6 years ago

Component: Public Website 2 → Database, Data Updates
Resolution: → fixed
Status: assigned → closed
Note: See TracTickets for help on using tickets.