[ 
https://issues.apache.org/jira/browse/SYNCOPE-1307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16453934#comment-16453934
 ] 

ASF subversion and git services commented on SYNCOPE-1307:
----------------------------------------------------------

Commit 4e523636ce30a2f4fd622badbda1ead1b220a269 in syncope's branch 
refs/heads/2_0_X from [~ilgrosso]
[ https://git-wip-us.apache.org/repos/asf?p=syncope.git;h=4e52363 ]

[SYNCOPE-1307] Forcing tree visit for Realms to ensure correct order


> 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ò
>            Priority: Major
>             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)

Reply via email to