<div dir="ltr">Hello everyone,<div><br></div><div>We've been reproducing an issue with midpoint's querying/filtering of objects where, upon executing a query like the following, and expecting only one result for it, we get that result but multiple times.</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size="1"><query><br>    <filter><br>        <or><br>            <ref><br>                <path>assignment/targetRef</path><br>                <value oid="00000000-0000-1de4-0004-000000000006"/><br>            </ref><br>            <ref><br>                <path>assignment/targetRef</path><br>                <value oid="00000000-0000-1de4-0004-000000000061"/><br>            </ref><br>        </or><br>    </filter><br></query></font></blockquote><div><br></div><div>So in this case only one object satisfies that condition, yet the output is the following:</div><div><br></div><div><img src="cid:ii_15b1bdf8ad1cf200" alt="Imagen integrada 1" width="410" height="101"> </div></div><div><br></div><div>At first we thought this might have been a view issue, but then we tested it on a custom task's filter, and the result was that the same user was processed 3 times (or more in other examples), making this type of queries a no-go for performance-intensive processes. </div><div><br></div><div>Is this the right way to approach a query like this? Or perhaps there's already a JIRA ticket for this...</div><div><br></div><div>Regards,</div><div><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><div dir="ltr"><font face="arial, helvetica, sans-serif"><b>Rodrigo Yanis.</b><br><img src="http://www.identicum.com/img/favicon.ico">Identicum S.A.<br></font>Jorge Newbery 3226<br>Tel: +54 (11) 4824-9971<font face="arial, helvetica, sans-serif"><br><a href="mailto:ryanis@identicum.com" target="_blank"><font color="#0b5394">ryanis@identicum.com</font></a><br><a href="http://www.identicum.com/" target="_blank"><font color="#0b5394">www.identicum.com</font></a></font></div></div></div></div></div></div></div></div></div></div></div>
</div></div>