zfcampus / zf-apigility-admin-ui

UI code for Apiglity Admin
BSD 3-Clause "New" or "Revised" License
39 stars 37 forks source link

Create new Service for Doctrine causes race condition #109

Open TomHAnderson opened 8 years ago

TomHAnderson commented 8 years ago

When using Doctrine and creating a new service if more than one entity is selected a race condition occurs when both entities are submitted to be created. This is caused because creating a new resource invokes code generation and the two jobs are submitted simultaneously.

The jobs should use a promise object to run one at a time.

p.s. I thought this was already reported. It's been around forever.

TomHAnderson commented 7 years ago

Given the recent uptick in Doctrine contribution to Apigility I would like to bump this up to a higher priority.

ping @jguittard

weierophinney commented 4 years ago

This repository has been closed and moved to laminas-api-tools/api-tools-admin-ui; a new issue has been opened at https://github.com/laminas-api-tools/api-tools-admin-ui/issues/12.