Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to create fulfillment on orders referencing deleted ProductVariant #2434

Closed
jacobfrantz1 opened this issue Oct 9, 2023 · 1 comment · Fixed by #2982
Closed

Unable to create fulfillment on orders referencing deleted ProductVariant #2434

jacobfrantz1 opened this issue Oct 9, 2023 · 1 comment · Fixed by #2982
Assignees
Labels
type: bug 🐛 Something isn't working

Comments

@jacobfrantz1
Copy link
Contributor

Describe the bug
I have some older orders that our fulfillment integration failed to create a fulfillment for at the time. Currently, I'm unable to create a fulfillment due to the referenced productVariant having been soft deleted. The message in the admin-ui is "No ProductVariant with the id "1de533de-e1d4-40d7-9902-90ab8b4d85d2" could be found".
The order line with the deleted product variant displays correctly in the admin-ui.

To Reproduce
Steps to reproduce the behavior:

  1. Get an order to PaymentSettled state
  2. Delete the ProductVariant associated with an order line in the order
  3. Try creating a fulfillment on the order

Expected behavior
Fulfillment should still be created even if ProductVariant is deleted

Environment:

  • @vendure/core version: 2.1.0-next.7
  • Nodejs version: 16.20.1
  • Database: postgresql 14
@jacobfrantz1 jacobfrantz1 added the type: bug 🐛 Something isn't working label Oct 9, 2023
@rubensmit93
Copy link

rubensmit93 commented Jul 30, 2024

Any updates on this? @michaelbromley

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐛 Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants