-
Bug
-
Resolution: Fixed
-
Major
-
2.9.19
-
None
When an ELP is used at the same time as a Teaching Unit and as a Teaching Unit Element, the education import crashe with the corresponding log :
Caused by: javax.jcr.nodetype.ConstraintViolationException: /odf/odf:teachingUnits/odf:teachingUnit[52]/odf:child/odf:teachingUnitElements: is constraint to [odf:teachingUnitElement] but references [primaryType=odf:teachingUnit, mixins=] at org.apache.jackrabbit.core.ItemImpl.validateTransientItems(ItemImpl.java:632) at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1198) at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:849) at org.ametys.anycontent.plugins.odf.actions.educations.CreateEducationAction.act(CreateEducationAction.java:203)