[midPoint] DatabaseTableConnector organization structure sync

mceylan mrveceylan at gmail.com
Tue May 12 13:06:03 CEST 2020


I get the following error when I set CustomorganizationalUnitObjectClass as
database resorce object class. What would be the reason?

Error:No objectclass specified and no default can be determined

<default>true</default>
When I do, I get the following error.

Internal error: Got unexpected exception:
java.lang.IllegalArgumentException: Operation requires an Account
ObjectClass.



<schemaHandling>
      <objectType id="1">
         <kind>generic</kind>
         <default>false</default>
         <objectClass>ri:CustomorganizationalUnitObjectClass</objectClass>
         <attribute id="2">
            <c:ref>icfs:uid</c:ref>
            <displayName>Entry UUID</displayName>
            <limitations>
               <access>
                  <read>true</read>
               </access>
            </limitations>
         </attribute>
         <attribute id="3">
            <c:ref>icfs:name</c:ref>
            <displayName>Name</displayName>
            <limitations>
               <minOccurs>0</minOccurs>
               <access>
                  <read>true</read>
                  <add>true</add>
                  <modify>true</modify>
               </access>
            </limitations>
            <inbound id="24">
               <target>
                  <c:path>$user/employeeNumber</c:path>
               </target>
            </inbound>
            <inbound id="43">
               <target>
                  <c:path>$user/name</c:path>
               </target>
            </inbound>
         </attribute>
         <attribute id="15">
            <c:ref>ri:parent_id</c:ref>
            <inbound id="16">
               <target>
                  <c:path>$user/extension/parent_id</c:path>
               </target>
            </inbound>
         </attribute>
         <attribute id="37">
            <c:ref>ri:identifier</c:ref>
            <inbound id="39">
               <target>
                  <c:path>$user/extension/identifier</c:path>
               </target>
            </inbound>
         </attribute>
         <attribute id="32">
            <c:ref>ri:organization_name</c:ref>
            <inbound id="33">
               <target>
                  <c:path>$user/extension/organizationname</c:path>
               </target>
            </inbound>
         </attribute>
         <activation>
            <administrativeStatus>
               <outbound id="5"/>
               <inbound id="6">
                  <strength>weak</strength>
               </inbound>
            </administrativeStatus>
         </activation>
      </objectType>
   </schemaHandling>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20200512/05aa89eb/attachment.htm>


More information about the midPoint mailing list