we should continue no matter if the ElementType cant be found, this will result in the entry appearing as unsupported if it has data, but data properly has been removed already and therefor we will not see the entry at all.

This commit is contained in:
Niels Lyngsø
2020-09-30 15:43:12 +02:00
parent 80ab69edd7
commit 20a5d1028b

View File

@@ -425,7 +425,11 @@
if (self.scaffolds) {
self.scaffolds.push(formatScaffoldData(scaffold));
}
}));
}).catch(
() => {
// Do nothing if we get an error.
}
));
});
return $q.all(tasks);
@@ -526,7 +530,7 @@
var dataModel = getDataByUdi(contentUdi, this.value.contentData);
if (dataModel === null) {
console.error("Couldn't find content model of " + contentUdi)
console.error("Couldn't find content data of " + contentUdi)
return null;
}
@@ -598,7 +602,7 @@
var settingsData = getDataByUdi(settingsUdi, this.value.settingsData);
if (settingsData === null) {
console.error("Couldnt find content settings data of " + settingsUdi)
console.error("Couldnt find settings data of " + settingsUdi)
return null;
}