[midPoint] - Filter returns same entry multiple times

Rodrigo Yanis ryanis at identicum.com
Wed Mar 29 23:07:02 CEST 2017


Hello everyone,

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.

<query>
>     <filter>
>         <or>
>             <ref>
>                 <path>assignment/targetRef</path>
>                 <value oid="00000000-0000-1de4-0004-000000000006"/>
>             </ref>
>             <ref>
>                 <path>assignment/targetRef</path>
>                 <value oid="00000000-0000-1de4-0004-000000000061"/>
>             </ref>
>         </or>
>     </filter>
> </query>


So in this case only one object satisfies that condition, yet the output is
the following:

[image: Imagen integrada 1]

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.

Is this the right way to approach a query like this? Or perhaps there's
already a JIRA ticket for this...

Regards,

*Rodrigo Yanis.*
Identicum S.A.
Jorge Newbery 3226
Tel: +54 (11) 4824-9971
ryanis at identicum.com
www.identicum.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20170329/61610bf4/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 11223 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20170329/61610bf4/attachment.png>


More information about the midPoint mailing list