diff --git a/import/importer.groovy b/import/importer.groovy index a35598c..8bb565a 100644 --- a/import/importer.groovy +++ b/import/importer.groovy @@ -347,7 +347,7 @@ def artifactimport(meta, parentmeta, String parentmetapath, String childproduct, def childmeta = meta.getNewMetaObject() def childmeta2 echo "Finding meta associated with child: Product: ${childproduct} Sub-component: ${childsubcomponent}" - echo "From Parent meta identifier: ${parentmeta.componentidentifier()} and parent meta path: ${parentmetapath}" + echo "From parent meta identifier: ${parentmeta.componentidentifier()} and parent meta path: ${parentmetapath}" def findresults = parentmeta.findAssociatedMeta(parentmetapath, childproduct, childsubcomponent) if (findresults.matchfound) { childmeta = findresults.matchedmetaitem.metainfo diff --git a/meta/folder.groovy b/meta/folder.groovy index 883e690..f72b502 100644 --- a/meta/folder.groovy +++ b/meta/folder.groovy @@ -1080,7 +1080,7 @@ class MetaInfo extends GISJsonSerialised { 'matchedmetaitem' : new CollectedMeta(this), 'matchfound' : false ] - def walkresults = allrelatedmeta(parentmetapath) + def walkresults = allrelatedmeta("${parentmetapath}/${METAFOLDERNAME}") for (dependentmetaitem in walkresults.metacollection) { script.echo("Comparing: ${dependentmetaitem.metainfo.productinfo.productname} ${dependentmetaitem.metainfo.productinfo.subcomponentname}") if (dependentmetaitem.metainfo.productinfo.productname == productname &&