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.
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.