[midPoint] baseContext filter not able to use substring

Jason Everling jeverling at bshp.edu
Wed Feb 27 00:42:27 CET 2019


With the resource definition for an object type I am trying to use multiple
contexts, such as the below and errors with " Filter for __NAME__ cannot be
used in OR clauses". How to use multiple contexts?

         <baseContext>
            <objectClass>ri:group</objectClass>
            <filter>
               <q:or>
                   <q:substring>
                <q:path>attributes/dn</q:path>
                <q:value>OU=TEST1,DC=TEST,DC=LOCAL</q:value>
                   </q:substring>
                   <q:substring>
                <q:path>attributes/dn</q:path>
                <q:value>OU=TEST2,DC=TEST,DC=LOCAL</q:value>
                   </q:substring>
               </q:or>
            </filter>
         </baseContext>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20190226/b6375ce3/attachment.htm>


More information about the midPoint mailing list