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

XML export and debug pages (XML editor) should display comments with referenced object name

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0 (Newton)
    • Fix Version/s: 3.1 (Sinan)
    • Component/s: None
    • Labels:
      None

      Description

      Is it possible to insert comments to generated XML code (debug pages/editor and export to XML using repo ninja) with the names of the references objects?

      E.g.:

      <user xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
            oid="e6a94ac8-9a7c-4545-9ce0-a08bd3610577"
            version="59">
         <name>alex.tester</name>
         <description>Testovaci ucet - midpoint</description>
         <parentOrgRef oid="a0f99009-241d-4e9a-85b1-3bac94f9b4d4" type="OrgType"/>
         <!-- Organization: ORG1 -->
         <parentOrgRef oid="27e612d2-8e09-4e74-8d6d-113225bc2970" type="OrgType"/>
         <!-- Organization: ORG2 -->
         <metadata>
            <createTimestamp>2014-04-30T09:13:44.488+02:00</createTimestamp>
            <creatorRef oid="940cb7b4-4327-433a-be09-0044cc0cceb9" type="UserType"/><!-- User: administrator1 -->
      . . .
         </metadata>
         <linkRef oid="51a6a451-0b78-4142-8f82-e0276c5e6524" type="ShadowType"/>
         <!-- Shadow: cn=aaa bbb,ou=example,dc=example,dc=com -->
         <assignment id="1">
            <targetRef oid="a0f99009-241d-4e9a-85b1-3bac94f9b4d4" type="OrgType"/>
            <!-- Organization: Org1 -->
         </assignment>
      . . .
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            vix Ivan Noris
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: