Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-1307

Wrong export order for Realms

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.8
    • 2.0.9, 2.1.0
    • core
    • None

    Description

      Realms should be exported in the XML content according to the values of the parent_id column.

      For example, when exporting from the demo on syncope-vm, the following is returned:

      <REALM ID="e4c28e7a-9dbf-4ee7-9441-93812a0d4a28" NAME="/" PASSWORDPOLICY_ID="986d1236-3ac5-4a19-810c-5ab21d79cba1"/>
      <REALM ID="0679e069-7355-4b20-bd11-a5a0a5453c7c" NAME="two" ACCOUNTPOLICY_ID="20ab5a8c-4b0c-432c-b957-f7fb9784d9f7" PARENT_ID="c5b75db1-fce7-470f-b780-3b9934d82a9d" PASSWORDPOLICY_ID="ce93fcda-dc3a-4369-a7b0-a6108c261c85"/>
      <REALM ID="722f3d84-9c2b-4525-8f6e-e4b82c55a36c" NAME="odd" ACCOUNTPOLICY_ID="06e2ed52-6966-44aa-a177-a0ca7434201f" PARENT_ID="e4c28e7a-9dbf-4ee7-9441-93812a0d4a28"/>
      <REALM ID="c5b75db1-fce7-470f-b780-3b9934d82a9d" NAME="even" PARENT_ID="e4c28e7a-9dbf-4ee7-9441-93812a0d4a28"/>
      

      where it is evident that even and two are not in the correct order for subsequent import.

      Attachments

        Issue Links

          Activity

            People

              ilgrosso Francesco Chicchiriccò
              ilgrosso Francesco Chicchiriccò
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: