From c80e809c45d57d4455d6c1e02457d317f8331575 Mon Sep 17 00:00:00 2001 From: Oliver Stolpe Date: Mon, 11 Nov 2024 13:45:28 +0100 Subject: [PATCH] fix: pedigree edits are not saved (#2112) (#2113) --- backend/cases/serializers.py | 1 - .../tests/drf_openapi_schema/varfish_api_schema.yaml | 6 ++++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/backend/cases/serializers.py b/backend/cases/serializers.py index cc959e7bf..e7297a4a7 100644 --- a/backend/cases/serializers.py +++ b/backend/cases/serializers.py @@ -167,7 +167,6 @@ class Meta: "presetset", # made writable in to_internal_value "state", "caseqc", - "pedigree", "pedigree_obj", ) diff --git a/backend/varfish/tests/drf_openapi_schema/varfish_api_schema.yaml b/backend/varfish/tests/drf_openapi_schema/varfish_api_schema.yaml index 99bc953cc..fbb71be14 100644 --- a/backend/varfish/tests/drf_openapi_schema/varfish_api_schema.yaml +++ b/backend/varfish/tests/drf_openapi_schema/varfish_api_schema.yaml @@ -6072,8 +6072,7 @@ components: index: type: string maxLength: 512 - pedigree: - readOnly: true + pedigree: {} notes: type: string nullable: true @@ -6153,6 +6152,7 @@ components: type: string minLength: 1 maxLength: 512 + pedigree: {} notes: type: string nullable: true @@ -6172,6 +6172,7 @@ components: required: - index - name + - pedigree CaseSerializerNgStateEnum: enum: - importing @@ -8091,6 +8092,7 @@ components: type: string minLength: 1 maxLength: 512 + pedigree: {} notes: type: string nullable: true