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

XPathHolder generates wrong ns definitions for default prefix

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.9 (Cronus)
    • Fix Version/s: 1.9 (Cronus)
    • Component/s: Infra
    • Labels:
      None

      Description

      We have generated wrong modifications (wrong were declarations of idmdn namespaces):

      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
      <object xsi:type="ObjectModificationType" xmlns:ns2="http://www.w3.org/2001/04/xmlenc#" xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd" xmlns:ns4="http://midpoint.evolveum.com/xml/ns/public/resource/resource-schema-1.xsd" xmlns:ns3="http://www.w3.org/2000/09/xmldsig#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <oid>8280fad3-6fe8-4a05-be52-852f2e89890d</oid>
      <propertyModification modificationType="replace">
      <xp5296:path xmlns:idmdn="http://midpoint.evolveum.com/xml/ns/public/resource/instance/ef2bc95b-76e0-48e2-86d6-3d4f02d3e1a2" xmlns:xp5296="http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd">idmdn:account[@oid="4deb8727-9d0a-4a78-9de6-95ab367ec66d"]/idmdn:attributes</xp5296:path>
      <value>
      <objectClass:objectClass xmlns="http://midpoint.evolveum.com/xml/ns/public/resource/instance/ef2bc95b-76e0-48e2-86d6-3d4f02d3e1a2" xmlns:objectClass="http://midpoint.evolveum.com/xml/ns/public/resource/instance/ef2bc95b-76e0-48e2-86d6-3d4f02d3e1a2">inetOrgPerson</objectClass:objectClass>
      </value>
      </propertyModification>
      <propertyModification modificationType="replace">
      <xp6194:path xmlns:xp6194="http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd" xmlns:idmdn="http://midpoint.evolveum.com/xml/ns/public/resource/instance/ef2bc95b-76e0-48e2-86d6-3d4f02d3e1a2">idmdn:account[@oid="4deb8727-9d0a-4a78-9de6-95ab367ec66d"]/idmdn:attributes</xp6194:path>
      <value>
      <objectClass:objectClass xmlns="http://midpoint.evolveum.com/xml/ns/public/resource/instance/ef2bc95b-76e0-48e2-86d6-3d4f02d3e1a2" xmlns:objectClass="http://midpoint.evolveum.com/xml/ns/public/resource/instance/ef2bc95b-76e0-48e2-86d6-3d4f02d3e1a2">top</objectClass:objectClass>
      </value>
      </propertyModification>
      <propertyModification modificationType="replace">
      <xp1627:path xmlns:idmdn="http://midpoint.evolveum.com/xml/ns/public/resource/instance/ef2bc95b-76e0-48e2-86d6-3d4f02d3e1a2" xmlns:xp1627="http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd">idmdn:account[@oid="4deb8727-9d0a-4a78-9de6-95ab367ec66d"]/idmdn:attributes</xp1627:path>
      <value>
      <objectClass:objectClass xmlns="http://midpoint.evolveum.com/xml/ns/public/resource/instance/ef2bc95b-76e0-48e2-86d6-3d4f02d3e1a2" xmlns:objectClass="http://midpoint.evolveum.com/xml/ns/public/resource/instance/ef2bc95b-76e0-48e2-86d6-3d4f02d3e1a2">organizationalPerson</objectClass:objectClass>
      </value>
      </propertyModification>
      <propertyModification modificationType="replace">
      <xp8627:path xmlns:xp8627="http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd" xmlns:idmdn="http://midpoint.evolveum.com/xml/ns/public/resource/instance/ef2bc95b-76e0-48e2-86d6-3d4f02d3e1a2">idmdn:account[@oid="4deb8727-9d0a-4a78-9de6-95ab367ec66d"]/idmdn:attributes</xp8627:path>
      <value>
      <objectClass:objectClass xmlns="http://midpoint.evolveum.com/xml/ns/public/resource/instance/ef2bc95b-76e0-48e2-86d6-3d4f02d3e1a2" xmlns:objectClass="http://midpoint.evolveum.com/xml/ns/public/resource/instance/ef2bc95b-76e0-48e2-86d6-3d4f02d3e1a2">person</objectClass:objectClass>
      </value>
      </propertyModification>
      </object>

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ifarinic Igor Farinic
              Reporter:
              ifarinic Igor Farinic
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: