syncope-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francesco Chicchiriccò (JIRA) <j...@apache.org>
Subject [jira] [Created] (SYNCOPE-1307) Wrong export order for Realms
Date Thu, 26 Apr 2018 07:01:00 GMT
Francesco Chicchiriccò created SYNCOPE-1307:
-----------------------------------------------

             Summary: Wrong export order for Realms
                 Key: SYNCOPE-1307
                 URL: https://issues.apache.org/jira/browse/SYNCOPE-1307
             Project: Syncope
          Issue Type: Bug
          Components: core
    Affects Versions: 2.0.8
            Reporter: Francesco Chicchiriccò
            Assignee: Francesco Chicchiriccò
             Fix For: 2.0.9, 2.1.0


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:

{code}
<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"/>
{code}

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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message