See the forum topic.
io.jmix.eclipselink.impl.JmixEntityManager#findOrCreate creates and persists a new entity with not initialized fields. It breaks bean validation.
Steps To Reproduce
Download the project from forum topic.
Run in debug mode and put a breakpoint at BlankView.kt:41 [entityManager.merge(create)]
Press the empty button on Blank View
Press F8 in debugger to step over next line
AR: The ConstraintViolationException will be seen in debugger and the transaction will be rolled back.
Environment
Jmix version: 2.3.1
Bug Description
See the forum topic.
io.jmix.eclipselink.impl.JmixEntityManager#findOrCreate
creates and persists a new entity with not initialized fields. It breaks bean validation.Steps To Reproduce
BlankView.kt:41 [entityManager.merge(create)]
ConstraintViolationException
will be seen in debugger and the transaction will be rolled back.