Skip to content

Commit

Permalink
Better migration parsing warning (MID-5915)
Browse files Browse the repository at this point in the history
  • Loading branch information
semancik committed Nov 11, 2019
1 parent 5fe4da6 commit 873de34
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -275,7 +275,8 @@ private <C extends Containerable> PrismContainerValue<C> parseContainerValueFrom
SchemaMigration migration = determineSchemaMigration(complexTypeDefinition, itemName, pc);
if (migration != null && pc.isCompat()) {
if (migration.getOperation() == SchemaMigrationOperation.REMOVED) {
LOGGER.warn("Item {} was removed from the schema, skipping", itemName);
String msg = "Item "+itemName+" was removed from the schema, skipped processing of that item";
pc.warn(LOGGER, msg);
continue;
} else {
pc.warnOrThrow(LOGGER, "Unsupported migration operation " + migration.getOperation() + " for item " + itemName + " (in container "
Expand Down

0 comments on commit 873de34

Please sign in to comment.