mark new object form adapter as __dummy__
This commit is contained in:
parent
8e94c5971e
commit
4b54cadcac
1 changed files with 1 additions and 0 deletions
|
@ -366,6 +366,7 @@ class CreateObjectForm(ObjectForm):
|
||||||
def adapted(self):
|
def adapted(self):
|
||||||
ad = self.typeInterface(Resource())
|
ad = self.typeInterface(Resource())
|
||||||
ad.storageName = 'unknown' # hack for file objects: don't try to retrieve data
|
ad.storageName = 'unknown' # hack for file objects: don't try to retrieve data
|
||||||
|
ad.__is_dummy__ = True
|
||||||
ad.__type__ = adapted(self.typeConcept)
|
ad.__type__ = adapted(self.typeConcept)
|
||||||
return ad
|
return ad
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue