From f22763ce675d70830bc8ac5fc7bf9fb8797aa6a3 Mon Sep 17 00:00:00 2001 From: Kumar Gauraw Date: Mon, 7 Aug 2023 19:57:27 +0530 Subject: [PATCH] Issue #Iq-545 fix: remove prop from child --- .../sunbird/job/quml/migrator/helpers/QuestionSetMigrator.scala | 2 ++ 1 file changed, 2 insertions(+) diff --git a/quml-migrator/src/main/scala/org/sunbird/job/quml/migrator/helpers/QuestionSetMigrator.scala b/quml-migrator/src/main/scala/org/sunbird/job/quml/migrator/helpers/QuestionSetMigrator.scala index 04ee3c82..ae9bdb5c 100644 --- a/quml-migrator/src/main/scala/org/sunbird/job/quml/migrator/helpers/QuestionSetMigrator.scala +++ b/quml-migrator/src/main/scala/org/sunbird/job/quml/migrator/helpers/QuestionSetMigrator.scala @@ -205,6 +205,8 @@ trait QuestionSetMigrator extends MigrationObjectReader with MigrationObjectUpda val chStr = ScalaJsonUtil.serialize(chData) val chMap: util.Map[String, AnyRef] = mapper.readValue(chStr, classOf[util.Map[String, AnyRef]]) ch.putAll(chMap) + ch.remove("bloomsLevel") + ch.remove("version") } else throw new QumlMigrationException(s"Please migrate children having identifier ${childrenId}") } })