You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The following error happens on the server when I try to cancel a fulfillment that's been marked as delivered:
Error: error.entity-with-id-not-found
at TransactionalConnection.getEntityOrThrowInternal (node_modules/@vendure/core/src/connection/transactional-connection.ts:261:19)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at StockMovementService.createAllocationsForOrderLines (node_modules/@vendure/core/src/service/services/stock-movement.service.ts:163:31)
at Object.onTransitionEnd (node_modules/@vendure/core/src/config/fulfillment/default-fulfillment-process.ts:95:13)
at awaitPromiseOrObservable
This happens on a migrated database (1.9.7 -> 2.0.4) - haven't tried it on a fresh 2.0.4 database.
To Reproduce
Steps to reproduce the behavior:
Create an order, a fulfillment and mark the fulfillment as delivered
Try to cancel the fulfillment
Expected behavior
The fulfillment should be cancelled.
Environment (please complete the following information):
@vendure/core version: 2.0.4
Nodejs version 16
Database (mysql/postgres etc): Postres 15
The text was updated successfully, but these errors were encountered:
I tried to reproduce in the current master branch with freshly-populated data and do not get the error. So for you does this also occur with newly-created orders, and not just orders migrated from v1?
Describe the bug
The following error happens on the server when I try to cancel a fulfillment that's been marked as delivered:
This happens on a migrated database (1.9.7 -> 2.0.4) - haven't tried it on a fresh 2.0.4 database.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The fulfillment should be cancelled.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: