vendure icon indicating copy to clipboard operation
vendure copied to clipboard

throw new QueryRunnerAlreadyReleasedError()

Open onursonmez opened this issue 1 month ago • 3 comments

I developed the Wishlist plugin located at https://docs.vendure.io/guides/developer-guide/plugins/. When I successively click on the Login, AddtoWishlist, GetWishlist, RemoveFromWishlist mutations from the http://localhost:3000/shop-api screen, Vendure Server crashes and I get the error in the screenshot below.

To Reproduce Steps to reproduce the behavior: Enter the http://localhost:3000/shop-api screen and prepare 4 mutations that log in, insert, get and remove. Run these mutations one after another by pressing the play button. Vendure Server will crash.

Expected behavior Vendure Server should not crash due to Postgresql in consecutive queries.

Environment (please complete the following information):

  • @vendure/core version: 2.2.4
  • Nodejs version v18.20.0
  • Database (mysql/postgres etc): postgresql Screenshot 2024-05-27 at 22 27 27 Screenshot 2024-05-27 at 22 27 44

onursonmez avatar May 27 '24 19:05 onursonmez