Skip to content

Concurrency problem during update #1

@kevinsdooapp

Description

@kevinsdooapp

Consider you have a entity Company which have employees.
Campany@1 with Employee@1
You can save it.
Then add a second employee Employee@2 and update the company.
During update of company, add an employee Employee@3
You'll get a ConcurrentModificationException.

It's due to jcromfx implementation, which iterate throught list/map instance of entities instead of iterate throught a copy of them.

I'll attach a test case and a fix for this issue.

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