From 4fc8f44e743e48a84ddf199c9051481fc4ae516e Mon Sep 17 00:00:00 2001 From: subranil Date: Fri, 17 Jan 2020 17:13:54 +0530 Subject: [PATCH] Issue #SB-17277: fix: rootIdentifier added in validation --- src/content/handlers/import/validate-ecar.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/content/handlers/import/validate-ecar.ts b/src/content/handlers/import/validate-ecar.ts index 1dc138da5..e7d493160 100644 --- a/src/content/handlers/import/validate-ecar.ts +++ b/src/content/handlers/import/validate-ecar.ts @@ -116,6 +116,7 @@ export class ValidateEcar { && !ContentUtil.isDuplicateCheckRequired(isDraftContent, item.pkgVersion) // Check if its draft and pkgVersion is 0. && ContentUtil.isImportFileExist(existingContentModel, item) // Check whether the file is already imported or not. ) { + importContext.rootIdentifier = identifier; this.skipContent(importContext, identifier, visibility, ContentImportStatus.ALREADY_EXIST); continue; }