<div dir="ltr">midpoint 3.2 - I keep getting a schema exception when trying to use a bulk task to modify an attribute for all users matching another extension attribute, a sample is below<div><br></div><div><div>      <se:executeScript xmlns:s="<a href="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3">http://midpoint.evolveum.com/xml/ns/public/model/scripting-3</a>"></div><div>         <s:search></div><div>            <s:type>c:UserType</s:type></div><div>            <s:searchFilter></div><div>               <q:ref></div><div>                  <q:path xmlns:bshp="<a href="http://midpoint.bshp.edu/bshp">http://midpoint.bshp.edu/bshp</a>">declare namespace bshp='<a href="http://midpoint.bshp.edu/bshp">http://midpoint.bshp.edu/bshp</a>'; $c:user/c:extension/bshp:attribute1</q:path></div><div>                  <q:value>oldvalue</q:value></div><div>               </q:ref></div><div>            </s:searchFilter></div><div>            <s:action></div><div>               <s:type>modify</s:type></div><div>               <s:parameter></div><div>                  <s:name>delta</s:name></div><div>                  <value xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>" xsi:type="t:ObjectDeltaType"></div><div>                     <t:changeType>modify</t:changeType></div><div>                     <t:itemDelta></div><div>                        <t:modificationType>replace</t:modificationType></div><div>                        <t:path xmlns:bshp="<a href="http://midpoint.bshp.edu/bshp">http://midpoint.bshp.edu/bshp</a>">declare namespace bshp='<a href="http://midpoint.bshp.edu/bshp">http://midpoint.bshp.edu/bshp</a>'; $c:user/c:extension/bshp:attribute2</t:path></div><div>                        <t:value>newvalue</t:value></div><div>                     </t:itemDelta></div><div>                  </value></div><div>               </s:parameter></div><div>            </s:action></div><div>         </s:search></div><div>      </se:executeScript></div><div><br></div><div><div>   <result></div><div>      <operation>run</operation></div><div>      <status>fatal_error</status></div><div>      <token>1000000000010283137</token></div><div>      <message>Couldn't execute script: Couldn't parse object filter due to schema exception</message></div><div>      <partialResults></div><div>         <operation>com.evolveum.midpoint.model.impl.scripting.ScriptExecutionTaskHandler.run</operation></div><div>         <status>fatal_error</status></div><div>         <token>1000000000010283151</token></div><div>         <message>Couldn't execute script: Couldn't parse object filter due to schema exception</message></div><div>         <partialResults></div><div>            <operation>class com.evolveum.midpoint.model.impl.scripting.ScriptingExpressionEvaluator.evaluateExpression</operation></div><div>            <status>unknown</status></div><div>            <token>1000000000010283152</token></div><div>         </partialResults></div><div>      </partialResults></div><div>   </result></div></div><div><div><br></div><div><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">JASON</div></div></div>
</div></div></div></div>

<br>
<font size="2"><br><br>CONFIDENTIALITY NOTICE:<br>This e-mail together with any attachments is proprietary and confidential; intended for only the recipient(s) named above and may contain information that is privileged. You should not retain, copy or use this e-mail or any attachments for any purpose, or disclose all or any part of the contents to any person. Any views or opinions expressed in this e-mail are those of the author and do not represent those of the Baptist School of Health Professions. If you have received this e-mail in error, or are not the named recipient(s), you are hereby notified that any review, dissemination, distribution or copying of this communication is prohibited by the sender and to do so might constitute a violation of the Electronic Communications Privacy Act, 18 U.S.C. section 2510-2521. Please immediately notify the sender and delete this e-mail and any attachments from your computer. </font><br>