ignore predicate interface on import also when empty string
This commit is contained in:
parent
c178efe59e
commit
47fefc39df
1 changed files with 1 additions and 1 deletions
2
external/element.py
vendored
2
external/element.py
vendored
|
@ -93,7 +93,7 @@ class ConceptElement(Element):
|
|||
formState = self.getInstance().applyTemplate(data=kw, ignoreValidation=True)
|
||||
# simple hack for resolving interface definition:
|
||||
pi = self.get('predicateInterface')
|
||||
if pi is not None:
|
||||
if pi:
|
||||
adapted(self.object).predicateInterface = resolve(pi)
|
||||
|
||||
def getInstance(self, omit=['title']):
|
||||
|
|
Loading…
Add table
Reference in a new issue