-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Description
Steps to reproduce
1.Add downloadable product to cart
2.Place an order containing downloadable product
Expected result
- Order should be placed with no fatal errors
- The product should be listed in my account->my dowloadable products section
- Shipment, Invoice, Creditmemo or any actions on the order in the admin area should be done successfully
Actual result
- Below mentioned error is occurring on placing the order
_ PDOException: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (demo2
.downloadable_link_purchased
, CONSTRAINTDOWNLOADABLE_LINK_PURCHASED_ORDER_ID_SALES_ORDER_ENTITY_ID
FOREIGN KEY (order_id
) REFERENCESsales_order
(entity_id
) ON DELETE SET NUL) in /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Statement/Pdo.php:228_ - Order is listed in my account->my orders and admin sales order area
- Error is occurring on performing any actions on the sales order admin area
- My account->my downloadable products does not show any purchased downloadable products
Metadata
Metadata
Assignees
Labels
No labels