Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-7548

Post migration issue : Error evaluating mapping in outbound mapping

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Reviewed
    • Affects Version/s: 4.4
    • Fix Version/s: None
    • Component/s: Connectors, Model
    • Labels:
      None
    • Environment:
    • Subscription:
      Unknown

      Description

      Hello,

      I migrated a midpoint 4.0.1 to 4.4 (after a migration to 4.0.4) and some errors are encountered in the ldap.

      [MODEL] [midPointScheduler_Worker-2] ERROR (com.evolveum.midpoint.model.common.mapping.AbstractMappingImpl): Error evaluating mapping in outbound mapping for attribute {.../resource/instance-3}givenName in resour
      ce:<name pf LDAP resource>: Unknown path segment givenName-{}

      It happens first for the familyName which is linked to the ri:sn property, when removed the givenName is affected.

      I suspect that every field would affected by this error if I remove the failing one.

       

      In the resource definition, there is:

      <xsd:element maxOccurs="unbounded" name="sn" type="xsd:string">
         <xsd:annotation>
            <xsd:appinfo>
               <a:displayOrder>450</a:displayOrder>
               <a:matchingRule xmlns:qn166="http://prism.evolveum.com/xml/ns/public/matching-rule-3">qn166:stringIgnoreCase</a:matchingRule>
               <ra:nativeAttributeName>sn</ra:nativeAttributeName>
               <ra:frameworkAttributeName>sn</ra:frameworkAttributeName>
            </xsd:appinfo>
         </xsd:annotation>
      </xsd:element>
      
      <attribute id="7">
         <ref>ri:sn</ref>
         <description>Surname</description>
         <limitations>
            <minOccurs>0</minOccurs>
            <maxOccurs>1</maxOccurs>
         </limitations>
         <outbound>
            <strength>strong</strength>
            <source>
               <path>$focus/familyName</path>
            </source>
            <expression>
               <function>
                  <libraryRef oid="non-uuid-oid" type="FunctionLibraryType"/>
                  <name>fiunctionName</name>
                  <parameter xsi:type="c:ExpressionParameterType">
                     <name>texte</name>
                     <expression>
                        <path>familyName</path>
                     </expression>
                  </parameter>
               </function>
            </expression>
         </outbound>
      </attribute>
      

      The same error message is got with the original LDAP connectors from 4.0.1 and 4.0.4 as well as the bundled connector in 4.4.

       

      Can you tell me if this is a bug or did I missed something in my migration process ?

       

      Best regards,

       

      Sébastien Marbrier

        Attachments

          Activity

            People

            Assignee:
            sebastien.marbrier Sébastien Marbrier
            Reporter:
            sebastien.marbrier Sébastien Marbrier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: