<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
<br>
MidPoint version is important in this case. There was a bug that
impacted normal mappings in object templates in midPoint versions
prior to 3.4. This is from midPoint 3.4 release notes:<br>
<br>
"<strong>Object template and assignment focus mappings with normal
strength</strong> were fixed. Due to a bug in the code in
previous midPoint versions these mappings behaved in a way which
was very similar to strong mappings. In midPoint 3.4 these
mappings behave as they should. However, this may break previous
configurations that relied on the wrong behavior, especially when
it comes to multi-value items such as assignments. The solution
would be to change strength of these mappings to <em>strong</em>."<br>
<br>
Also, midPoint currently evaluated all the mappings for all the
changes. However some results are discarded later when we
"consolidate" the values. So, you may see expressions evaluation
in the logs even if the source was not changed. But the result of
the expression should be discarded later and they should not
appear in the final delta. Obviously, this can be optimized:
<a class="moz-txt-link-freetext" href="https://jira.evolveum.com/browse/MID-3297">https://jira.evolveum.com/browse/MID-3297</a><br>
<br>
<pre class="moz-signature" cols="72">--
Radovan Semancik
Software Architect
evolveum.com
</pre>
<br>
<br>
<br>
On 07/28/2016 05:39 PM, Ivan Noris wrote:<br>
</div>
<blockquote
cite="mid:ac39510c-ca64-2967-002e-ccc25afee641@evolveum.com"
type="cite">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<p>Hi Martin,</p>
<p>can you share the mapping? Which midPoint version are you
using?</p>
<p>Ivan<br>
</p>
<div class="moz-cite-prefix">On 07/28/2016 04:54 PM, Martin
Marchese wrote:<br>
</div>
<blockquote
cite="mid:CAG3rmdp1BxYZacbfNnvDfDAD=QqLu3kwaWh307S=notGr2jATQ@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,
<div><br>
</div>
<div>We have an objectTemplate that builds email and fullname
using givenName and familyName.</div>
<div><br>
</div>
<div>But we are not able to make it do this ONLY when the
givenName or familyName is changing. For example, we change
the user costCenter and the template still tries to build
the fullname and email even if the givename and familyname
are not changing.</div>
<div><br>
</div>
<div>Which will be the best way to fix this?</div>
<div><br>
</div>
<div>Thanks</div>
<div>
<div>
<div class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr"><b><span></span><span></span>Ing.
MartÃn Marchese</b><br>
<img moz-do-not-send="true"
src="http://www.identicum.com/img/favicon.ico">Identicum
S.A.<br>
Anchorena 1357 PB<br>
Tel: +54 (11) 3526.5509<br>
<a moz-do-not-send="true"
href="mailto:mmarchese@identicum.com"
target="_blank">mmarchese@identicum.com</a><br>
<a moz-do-not-send="true"
href="http://www.identicum.com" target="_blank">www.identicum.com</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
midPoint mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Ivan Noris
Senior Identity Engineer
evolveum.com
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
<br>
<br>
</body>
</html>