|
@@ -327,7 +327,7 @@ class Reference(DataHandler):
|
327
|
327
|
return True
|
328
|
328
|
# !! Reimplement instance fetching in construct data !!
|
329
|
329
|
target_class = self.back_reference[0]
|
330
|
|
- if target_class not in self.__allowed_class:
|
|
330
|
+ if target_class not in self.__allowed_classes:
|
331
|
331
|
logger.warning('Class of the back_reference given is not an allowed class')
|
332
|
332
|
return False
|
333
|
333
|
target_uidfield = target_class.uid_fieldname()[0] #multi uid broken here
|