1
0
Fork 0

bug fix in migrate entities: parameter name was wrong

This commit is contained in:
miconis 2021-10-18 23:30:40 +02:00
parent 995c1eddaf
commit 5f780a6ba1
2 changed files with 2 additions and 2 deletions

View File

@ -707,7 +707,7 @@ public class MigrateDbEntitiesApplication extends AbstractMigrationApplication i
r.setSubRelType(ModelConstants.RELATIONSHIP); r.setSubRelType(ModelConstants.RELATIONSHIP);
r r
.setRelClass( .setRelClass(
rs.getString("reltype").equalsIgnoreCase("parent") ? ModelConstants.IS_PARENT_OF rs.getString("type").equalsIgnoreCase("parent") ? ModelConstants.IS_PARENT_OF
: ModelConstants.IS_CHILD_OF); : ModelConstants.IS_CHILD_OF);
r.setSource(orgId1); r.setSource(orgId1);
r.setTarget(orgId2); r.setTarget(orgId2);

View File

@ -258,7 +258,7 @@
<switch> <switch>
<case to="ImportDB">${wf:conf('reuseDB') eq false}</case> <case to="ImportDB">${wf:conf('reuseDB') eq false}</case>
<case to="reuse_odf">${wf:conf('reuseDB') eq true}</case> <case to="reuse_odf">${wf:conf('reuseDB') eq true}</case>
<default to="ImportDB_claims"/> <default to="ImportDB"/>
</switch> </switch>
</decision> </decision>