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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user