feeder: remove json_field of formdef cubes (fixes #28936)

This commit is contained in:
Benjamin Dauvergne 2018-12-12 14:46:27 +01:00
parent 57d6536808
commit eda932f270
1 changed files with 2 additions and 0 deletions

View File

@ -796,6 +796,8 @@ class WcsFormdefFeeder(object):
# create cube
cube = self.cube = copy.deepcopy(self.base_cube)
# remove json field from formdef cubes
cube.pop('json_field', None)
cube.update({
'name': self.table_name,
'label': self.formdef.schema.name,