From a5638fe80483a5bd879e6d61d73445b667c69ee7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <h.tomwoerden@indiscale.com>
Date: Tue, 7 May 2024 20:14:15 +0200
Subject: [PATCH] wip

---
 src/caoscrawler/crawl.py | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/src/caoscrawler/crawl.py b/src/caoscrawler/crawl.py
index b9510ce4..3b516a12 100644
--- a/src/caoscrawler/crawl.py
+++ b/src/caoscrawler/crawl.py
@@ -317,15 +317,8 @@ class Crawler(object):
                 if st.identity_relies_on_unchecked_entity(se):  # no remote server check possible
                     continue
 
-                if se.identifiable is None:  # generate identifiable if it is missing
-                    self.identifiableAdapter.check_identifying_props(se)
-                    st.set_identifiable_of_node(se, st.identifiableAdapter.get_identifiable(
-                        se, st.backward_id_referenced_by[se.uuid]))
-
-                    entity_was_treated = True
-                # if the node was merged with another due to the new identifiable, we skip
-                if se not in st.unchecked:
-                    continue
+                if se.identifiable is None:  # there should be an identifiable
+                    raise Exception("NOOOO")
 
                 # check remote server
                 identified_record = (
-- 
GitLab