Handle v0.1 imported associated meta

This commit is contained in:
Dan Hawkins 2021-12-17 17:39:58 +00:00
commit 40054880d4

View file

@ -1020,7 +1020,7 @@ class MetaInfo extends GISJsonSerialised {
limiteddepth,
maxdepth - 1)
}
} else if (relatedmetainfo.format == '0.1') {
} else if (!relatedmetainfo.format || relatedmetainfo.format == '0.1') {
def MetaInfo othermeta = relatedmetainfo.meta
results = othermeta.walkrelated_v0_1(results.metacollection, results.comment, level + 1, gatheredpath, gatheredmetapath, limiteddepth, maxdepth - 1)
}