mirror of
				https://github.com/yweber/lodel2.git
				synced 2025-10-31 11:39:02 +01:00 
			
		
		
		
	Corrects an error
This commit is contained in:
		
					parent
					
						
							
								588efa485e
							
						
					
				
			
			
				commit
				
					
						084b2dd5f0
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -327,7 +327,7 @@ class Reference(DataHandler): | |||
|             return True | ||||
|         # !! Reimplement instance fetching in construct data !! | ||||
|         target_class = self.back_reference[0] | ||||
|         if target_class not in self.__allowed_class: | ||||
|         if target_class not in self.__allowed_classes: | ||||
|             logger.warning('Class of the back_reference given is not an allowed class') | ||||
|             return False | ||||
|         target_uidfield = target_class.uid_fieldname()[0] #multi uid broken here | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 prieto
				prieto