From 61fa3687a6fcd1d9db1f7127601aed1440dfd2f1 Mon Sep 17 00:00:00 2001 From: Thomas Kleinke Date: Tue, 24 Oct 2017 15:05:09 +0200 Subject: [PATCH] check for identifier in hasNecessaryFields --- app/model/model-util.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/model/model-util.ts b/app/model/model-util.ts index c82cad2379..bbf5c21fbe 100644 --- a/app/model/model-util.ts +++ b/app/model/model-util.ts @@ -18,6 +18,7 @@ export class ModelUtil { if (!document.resource) return false; if (!document.resource.id) return false; + if (!document.resource.identifier) return false; if (!document.resource.relations) return false; if (!document.created) return false;