<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Vincent,<br>
<br>
regarding the schema: until recently, you could have only one schema
for the same object extension, i.e. one schema file for User
extension.<br>
<br>
This should be fixed now by
<a class="moz-txt-link-freetext" href="https://jira.evolveum.com/browse/MID-1600">https://jira.evolveum.com/browse/MID-1600</a> although I've not tried it
yet, because my customers had not needed that until now. See the
issue please for the target release information.<br>
<br>
As I understand you NPE, it happens when the times are empty/null
when you import your data from CSV file?<br>
<br>
Regards,<br>
Ivan<br>
<br>
<div class="moz-cite-prefix">On 09/27/2013 11:05 PM,
Belleville-Rioux, Vincent wrote:<br>
</div>
<blockquote
cite="mid:0AD36E0192997748BD28BC68B14C75D0036499@Lettre.gst.uqam.ca"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css"></style>
<style type="text/css"></style>
<style type="text/css"></style>
<style type="text/css"></style>
<div style="direction: ltr;font-family: Tahoma;color:
#000000;font-size: 10pt;"><font size="2" face="Tahoma">I found
the TimeFrom and TimeTo configuration options and I am
experimenting a NullPointerException with those...</font>
<div><font size="2" face="Tahoma"><br>
</font></div>
<div><font size="2" face="Tahoma">Attached : the shadow.xml file
from an attempted import from CSV that shows the NPE. Also,
the object template XML where the time-constrained mapping
is present. The user extension I use for the startDate and
endDate seems to work because when I remove the time
constraints, the import succeeds and I see the dates as
(filled) date fields in the Users page. </font></div>
<div><font size="2" face="Tahoma"><br>
</font></div>
<div><font size="2" face="Tahoma">Any idea what's wrong ?</font></div>
<div><font size="2" face="Tahoma"><br>
</font></div>
<div><font size="2" face="Tahoma">Vincent</font></div>
<div><font size="2" face="Tahoma"><br>
</font>
<div style="font-family: Times New Roman; color: #000000;
font-size: 16px">
<hr tabindex="-1">
<div id="divRpF202968" style="direction: ltr;"><font
color="#000000" size="2" face="Tahoma"><b>De :</b>
<a class="moz-txt-link-abbreviated" href="mailto:midpoint-bounces@lists.evolveum.com">midpoint-bounces@lists.evolveum.com</a>
[<a class="moz-txt-link-abbreviated" href="mailto:midpoint-bounces@lists.evolveum.com">midpoint-bounces@lists.evolveum.com</a>] de la part de
Belleville-Rioux, Vincent [<a class="moz-txt-link-abbreviated" href="mailto:rioux.vincent@uqam.ca">rioux.vincent@uqam.ca</a>]<br>
<b>Date d'envoi :</b> 27 septembre 2013 15:46<br>
<b>À :</b> midPoint General Discussion<br>
<b>Objet :</b> [midPoint] RE : RE : RE : Namespace
problem<br>
</font><br>
</div>
<div>
<div style="direction:ltr; font-family:Tahoma;
color:#000000; font-size:10pt">Please ignore my previous
message as I found that we can't have more than one
extension schema at the same time. I merged my added
attributes to the extension-whatever.xsd and it now
works.
<div><br>
</div>
<div>I however have another question : how can we
compare dates in mappings? I want to try and do a
conditional mapping where the user start date is
checked against today to see if the account should or
should not be mapped to the role.</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>Vincent</div>
<style type="text/css">
<!--
-->
</style>
<style type="text/css">
<!--
-->
</style>
<style type="text/css" id="owaParaStyle">
<!--
-->
</style>
<style type="text/css">
<!--
-->
</style></div>
</div>
</div>
</div>
</div>
<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>
<pre class="moz-signature" cols="72">--
Ing. Ivan Noris
Consultant
Evolveum, s.r.o
___________________________________________________
"Semper cautus - semper paratus - semper idem Vix."
</pre>
</body>
</html>