From: Avivi, Yotam (ya107f) Date: Thu, 19 Mar 2020 10:30:29 +0000 (+0200) Subject: Show missing base template error in UI X-Git-Tag: 1.7.0~302 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=0fe8f4840e364e00fdd25aaa8fd5c459e46f0328;p=sdc.git Show missing base template error in UI Change-Id: Ifb54fc460242b1413c05e6494f9027686f796a81 Issue-ID: SDC-2822 Signed-off-by: Avivi, Yotam (ya107f) --- diff --git a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/attachments/validation/HeatValidationReducer.js b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/attachments/validation/HeatValidationReducer.js index 19684512a1..f02953857b 100644 --- a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/attachments/validation/HeatValidationReducer.js +++ b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/attachments/validation/HeatValidationReducer.js @@ -129,7 +129,7 @@ function createErrorList(node, parent, deep = 0, errorList = []) { } const mapValidationDataToTree = (validationData, packageName) => { - let { heat, nested, volume, network, artifacts, other } = + let { errors, heat, nested, volume, network, artifacts, other } = validationData.importStructure || {}; return { children: [ @@ -138,6 +138,7 @@ const mapValidationDataToTree = (validationData, packageName) => { expanded: true, type: 'heat', header: true, + errors: errors, children: heat ? heat.map(mapHeatData) : nested ? nested.map(mapHeatData) : []