We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0445de commit f4d689eCopy full SHA for f4d689e
server/config/type.js
@@ -183,6 +183,12 @@ const ConfigType = class ConfigType {
183
await Promise.all(Object.values(AllConfig).map(async (config) => {
184
const combinedUid = getCombinedUid(this.uidKeys, config);
185
const combinedUidWhereFilter = getCombinedUidWhereFilter(this.uidKeys, config);
186
+
187
+ if (!combinedUid) {
188
+ strapi.log.warn(logMessage(`Missing data for entity with id ${config.id} of type ${this.configPrefix}`));
189
+ return;
190
+ }
191
192
// Check if the config should be excluded.
193
const shouldExclude = !isEmpty(strapi.config.get('plugin.config-sync.excludedConfig').filter((option) => `${this.configPrefix}.${combinedUid}`.startsWith(option)));
194
if (shouldExclude) return;
0 commit comments