Task #983
closed
Cannot create EAV attributes in Sync. mapping with type other than String
Added by Marcel Poul almost 7 years ago.
Updated over 6 years ago.
Description
When I make new mapping for synchronization for a system (DB system in my case), I successfully create all EAV attributes of Identity of type String. Other types end up with error and I have to create them manually.
- Assignee changed from Vít Švanda to Ondřej Kopr
- Target version set to Hematite (8.0.0)
- Status changed from New to In Progress
javax.validation.ConstraintViolationException: Validation failed for [IdmFormAttributeDto], errors [[ConstraintViolationImpl{interpolatedMessage='nesmí být null', propertyPath=persistentType, rootBeanClass=class eu.bcvsolutions.idm.core.eav.api.dto.IdmFormAttributeDto, messageTemplate='{javax.validation.constraints.NotNull.message}'}]]
at eu.bcvsolutions.idm.core.api.service.AbstractReadWriteDtoService.validate(AbstractReadWriteDtoService.java:181)
at eu.bcvsolutions.idm.core.api.service.AbstractReadWriteDtoService.validateDto(AbstractReadWriteDtoService.java:153)
at eu.bcvsolutions.idm.core.api.service.AbstractReadWriteDtoService.saveInternal(AbstractReadWriteDtoService.java:78)
at eu.bcvsolutions.idm.core.eav.service.impl.DefaultIdmFormAttributeService.saveInternal(DefaultIdmFormAttributeService.java:79)
at eu.bcvsolutions.idm.core.eav.service.impl.DefaultIdmFormAttributeService.saveInternal(DefaultIdmFormAttributeService.java:1)
at eu.bcvsolutions.idm.core.api.service.AbstractReadWriteDtoService.save(AbstractReadWriteDtoService.java:71)
at eu.bcvsolutions.idm.core.api.service.AbstractReadWriteDtoService$$FastClassBySpringCGLIB$$f52da88.invoke(<generated>)
- Status changed from In Progress to Needs feedback
- Assignee changed from Ondřej Kopr to Marcel Poul
- % Done changed from 0 to 90
- Assignee changed from Marcel Poul to Vít Švanda
- Status changed from Needs feedback to Resolved
- Assignee changed from Vít Švanda to Ondřej Kopr
- % Done changed from 90 to 100
I did review. Works fine. Nice test.
- I extended also converter 'IntFormPropertyConverter' for 'java.lang.Integer' yet.
- I extended your test for Integer too.
- Status changed from Resolved to Closed
Also available in: Atom
PDF