Github user ilgrosso commented on a diff in the pull request:
https://github.com/apache/syncope/pull/71#discussion_r183326763
--- Diff:
client/cli/src/main/java/org/apache/syncope/client/cli/commands/migrate/MigrateConf.java
---
@@ -864,9 +885,6 @@ private static void exec(final String src, final String
dst) throws XMLStreamExc
reader.next();
}
- writer.writeStartElement("Realm");
- writer.writeAttribute("id", UUID.randomUUID().toString());
- writer.writeAttribute("name", "/");
if (globalAccountPolicy != null) {
--- End diff --
If you move the Realm creation above, all this block until
`writer.writeEndElement()` must be moved above too.
---