make records field more fault tolerant
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@3241 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
35f9224c25
commit
6c123d7281
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ class RecordsFieldInstance(GridFieldInstance):
|
||||||
for row in value or []:
|
for row in value or []:
|
||||||
item = {}
|
item = {}
|
||||||
for fi in self.columnFieldInstances:
|
for fi in self.columnFieldInstances:
|
||||||
item[fi.name] = fi.marshall(row[fi.name])
|
item[fi.name] = fi.marshall(row.get(fi.name))
|
||||||
result.append(item)
|
result.append(item)
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue