Skip to content

Create new Service for Doctrine causes race condition #12

@weierophinney

Description

@weierophinney

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.


Originally posted by @TomHAnderson at zfcampus/zf-apigility-admin-ui#109

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions