Ticket #128 (closed defect: fixed)
exception after defining a study, cannot save the study
|Reported by:||business@…||Owned by:||work@…|
|Component:||Study create/edit wizard||Version:|
Description (last modified by business@…) (diff)
When creating a study with some generated samples, a popup box is shown with an exception:
exception → org.springframework.dao.DataIntegrityViolationException?: not-null property references a null or transient value: dbnp.studycapturing.Sample.parentEvent; nested exception is org.hibernate.PropertyValueException?: not-null property references a null or transient value: dbnp.studycapturing.Sample.parentEvent, see log for stacktrace
This indicates a bug in the sample generation (you also see in the user interface that only the first sample listed actually has a parentEvent template name). This bug has to be fixed. But also, parentEvent should become an optional Sample property. Please change this and make sure the wizard still works.