We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7b8045 commit bacbe51Copy full SHA for bacbe51
geonode/metadata/handlers/group.py
@@ -66,7 +66,7 @@ def get_jsonschema_instance(self, resource, field_name, context, errors, lang=No
66
)
67
68
def update_resource(self, resource, field_name, json_instance, context, errors, **kwargs):
69
- data = json_instance[field_name]
+ data = json_instance.get(field_name, None)
70
id = data.get("id", None) if data else None
71
if id is not None:
72
gp = GroupProfile.objects.get(pk=id)
0 commit comments