[midPoint] unable to put multiple role/multivalued attribute on Semi-Manual resource
petr.kulheim at ibacz.eu
petr.kulheim at ibacz.eu
Wed May 23 15:32:45 CEST 2018
finally I have found "multivalueAttributes" config property of CSV
connector needs to be specified.
--pk
From: petr.kulheim at ibacz.eu
To: midPoint General Discussion <midpoint at lists.evolveum.com>
Date: 22/05/2018 17:43
Subject: [midPoint] unable to put multiple role/multivalued
attribute on Semi-Manual resource
Sent by: "midPoint" <midpoint-bounces at lists.evolveum.com>
hi guys,
trying to work with Semi-manual resource with additional CSV connector,
but not able to assign multiple roles (with Semi-manual resource
inducement), getting:
com.evolveum.midpoint.util.exception.SchemaException: Attempt to replace 2
values to a single-valued item attributes/interests; values:
[PPV(String:one), PPV(String:two)] at
com.evolveum.midpoint.prism.delta.ItemDelta.validate(ItemDelta.java:1001)
at
com.evolveum.midpoint.prism.delta.ItemDelta.validate(ItemDelta.java:988)
at
com.evolveum.midpoint.model.impl.lens.projector.ConsolidationProcessor.consolidateItem(ConsolidationProcessor.java:489)
at
com.evolveum.midpoint.model.impl.lens.projector.ConsolidationProcessor.consolidateAttribute(ConsolidationProcessor.java:324)
at
com.evolveum.midpoint.model.impl.lens.projector.ConsolidationProcessor.consolidateAttributes(ConsolidationProcessor.java:295)
at
com.evolveum.midpoint.model.impl.lens.projector.ConsolidationProcessor.consolidateValuesToModifyDelta(ConsolidationProcessor.java:201)
at
com.evolveum.midpoint.model.impl.lens.projector.ConsolidationProcessor.consolidateValuesModifyProjection(ConsolidationProcessor.java:599)
at
com.evolveum.midpoint.model.impl.lens.projector.ConsolidationProcessor.consolidateValues(ConsolidationProcessor.java:131)
at
com.evolveum.midpoint.model.impl.lens.projector.ProjectionValuesProcessor.processProjections(ProjectionValuesProcessor.java:231)
at
com.evolveum.midpoint.model.impl.lens.projector.ProjectionValuesProcessor.process(ProjectionValuesProcessor.java:137)
at
com.evolveum.midpoint.model.impl.lens.projector.Projector.lambda$projectProjection$3(Projector.java:349)
at
com.evolveum.midpoint.model.impl.lens.ClockworkMedic.partialExecute(ClockworkMedic.java:170)
at
com.evolveum.midpoint.model.impl.lens.ClockworkMedic.partialExecute(ClockworkMedic.java:150)
at
com.evolveum.midpoint.model.impl.lens.projector.Projector.projectProjection(Projector.java:346)
at
com.evolveum.midpoint.model.impl.lens.projector.Projector.lambda$projectInternal$2(Projector.java:253)
at
com.evolveum.midpoint.model.impl.lens.ClockworkMedic.partialExecute(ClockworkMedic.java:170)
at
com.evolveum.midpoint.model.impl.lens.ClockworkMedic.partialExecute(ClockworkMedic.java:150)
at
com.evolveum.midpoint.model.impl.lens.projector.Projector.projectInternal(Projector.java:252)
at
com.evolveum.midpoint.model.impl.lens.projector.Projector.project(Projector.java:101)
at
com.evolveum.midpoint.model.impl.lens.Clockwork.click(Clockwork.java:437)
at com.evolveum.midpoint.model.impl.lens.Clockwork.run(Clockwork.java:196)
at
com.evolveum.midpoint.model.impl.controller.ModelController.executeChanges(ModelController.java:547)
at
com.evolveum.midpoint.web.component.progress.ProgressPanel$14.callWithContextPrepared(ProgressPanel.java:605)
at
com.evolveum.midpoint.web.component.progress.ProgressPanel$14.callWithContextPrepared(ProgressPanel.java:591)
at
com.evolveum.midpoint.web.component.SecurityContextAwareCallable.call(SecurityContextAwareCallable.java:59)
at java.util.concurrent.FutureTask.run(FutureTask.java:266) at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Althogh I have schema definition with attribute involved:
<xsd:element maxOccurs="unbounded" minOccurs="0" name="interests" type=
"xsd:string"/>
Single role assignment works fine.
Please any hint ?
thank you
Petr Kulheim
JEE Developer
IBA CZ, s.r.o.
Office: Petržílkova 2565/23, 158 00 Praha, CZ
Phone: +420 603 272826
E-mail: petr.kulheim at ibacz.eu
Disclaimer:
The information contained in this communication is intended solely for the
use of the individual or entity to whom it is addressed and others
authorized to receive it.
It may contain confidential or legally privileged information.
If you are not the intended recipient you are hereby notified that any
disclosure, copying, distribution or taking any action in reliance on the
contents of this information is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us
immediately by forwarding this email to ict at ibacz.eu and then delete it
from your system.
IBA Group is neither liable for the proper and complete transmission of
the information contained in this communication nor for any delay in its
receipt. [attachment "resource-semi-manual.xml" deleted by Petr
Kulheim/Ibacz/cz] _______________________________________________
midPoint mailing list
midPoint at lists.evolveum.com
http://lists.evolveum.com/mailman/listinfo/midpoint
Disclaimer:
The information contained in this communication is intended solely for the
use of the individual or entity to whom it is addressed and others
authorized to receive it.
It may contain confidential or legally privileged information.
If you are not the intended recipient you are hereby notified that any
disclosure, copying, distribution or taking any action in reliance on the
contents of this information is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us
immediately by forwarding this email to ict at ibacz.eu and then delete it
from your system.
IBA Group is neither liable for the proper and complete transmission of
the information contained in this communication nor for any delay in its
receipt.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20180523/82f8f2ae/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 48578 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20180523/82f8f2ae/attachment.png>
More information about the midPoint
mailing list