Skip to content

Commit

Permalink
More errors fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
njhlai committed Feb 16, 2022
1 parent d71fa5a commit 3f1dc32
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,7 @@ class V3StudyMigrationUpgrade(
// "nc.PersonBirthDate",
UUID.fromString("1e6ff0f0-0545-4368-b878-677823459e57"),
// "nc.SubjectIdentification",
UUID.fromString("5260cfbd-bfa4-40c1-ade5-cd83cc9f99b2"),
// "ol.status",
UUID.fromString("2a45205e-703c-43eb-a060-921bf7245f6a")
UUID.fromString("5260cfbd-bfa4-40c1-ade5-cd83cc9f99b2")
)
).toMap()

Expand Down Expand Up @@ -180,7 +178,7 @@ class V3StudyMigrationUpgrade(
logger.info("Processing all legacy participants of $legacyStudyEkid")
try {
entitySets.keySet(
Predicates.equal<UUID, EntitySet>("name", "chronicle_participants_${legacyStudyFqnToValue[FullQualifiedName("general.stringid")]}")
Predicates.equal<UUID, EntitySet>("name", "chronicle_participants_${legacyStudyFqnToValue[FullQualifiedName("general.stringid")]!!.first()}")
).forEach { participantESID ->
dataQueryService.getEntitiesWithPropertyTypeFqns(
mapOf(participantESID to Optional.of(setOf<UUID>())),
Expand Down

0 comments on commit 3f1dc32

Please sign in to comment.