<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Rod,</p>
<p>yes it has been removed (after it was deprecated) and you can
replace it with a similar construction:</p>
<p> <defaultObjectPolicyConfiguration><br>
<objectTemplateRef
oid="10000000-9999-9999-0000-a000fe000001"
type="c:ObjectTemplateType"><br>
<!-- ExAmPLE User Template --><br>
</objectTemplateRef><br>
<type>c:UserType</type><br>
</defaultObjectPolicyConfiguration><br>
</p>
<p>You should have seen a warning when importing / saving object
with defaultUserTemplateRef, I remember to have seen similar
problem (I don't remember if there was a JIRA issue created for
it, sorry). But the Release 4.0 page contains the following:</p>
<p>"Other removed items are automatically detected by midPoint
parsing code and such elements should be automatically removed
from the data.<font color="#6560d2"> There will be a warning in
the log file in case that such an element was removed during
parsing. Please note that it takes an update of the object to
store the data value without the removed elements.</font>
MidPoint does <strong>not</strong> do it proactively."</p>
<p>(<a class="moz-txt-link-freetext" href="https://wiki.evolveum.com/display/midPoint/Release+4.0#Release4.0-Behaviorchangessince3.9">https://wiki.evolveum.com/display/midPoint/Release+4.0#Release4.0-Behaviorchangessince3.9</a>)<br>
</p>
<p>Also, running "ninja.sh verify" should display a warning if you
have deprecated syntax in your repository objects (you should run
this command before upgrade as the schema elements are always
deprecated at least one version before the element is removed).</p>
<p>Best regards,</p>
<p>Ivan<br>
</p>
<div class="moz-cite-prefix">On 24. 2. 2020 16:46, Rod Holman wrote:<br>
</div>
<blockquote type="cite"
cite="mid:MN2PR20MB2239FEBE61B3229D9B6ED804A5EC0@MN2PR20MB2239.namprd20.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Since we upgraded to 4.0 (now 4.0.2) we
have not been able to save the defaultUserTemplateRef in the
System Configuration Object as explained in the documentation
under Object Template/Global User Template. When we place it
after the logging element and click save it appears to save
OK, but doesn’t do anything. We’re able to save other things,
but not that. We are trying to save the following:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><defaultUserTemplateRef xmlns:tns="<a
href="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
moz-do-not-send="true">http://midpoint.evolveum.com/xml/ns/public/common/common-3</a>"
oid="f392e8a6-7b2a-4937-84ca-eca3bc9ee176"
relation="org:default" type="tns:ObjectTemplateType"><o:p></o:p></p>
<p class="MsoNormal"> <!-- Create Unique Name --><o:p></o:p></p>
<p class="MsoNormal"> </defaultUserTemplateRef><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Has been removed and replaced with
something else?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">-Rod <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-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>
<pre class="moz-signature" cols="72">--
Ivan Noris
Senior Identity Engineer
evolveum.com
</pre>
</body>
</html>