From af2469ea6d6219f9a0185fde91c492c8f474fee1 Mon Sep 17 00:00:00 2001 From: "Esteban J. G. Gabancho" Date: Fri, 10 Nov 2023 10:59:11 -0500 Subject: [PATCH] members: sync schemas with user-resources * Invenio-User-Resources introduced dynamic user profile schemas here 492f14b7c28f26f4395bce1acde05149c128c407. Having the inconsistency causes the indexer to fail. (closes invenio-app-rdm#2198) --- .../archivedinvitations/archivedinvitation-v1.0.0.json | 3 ++- .../mappings/os-v1/communitymembers/members/member-v1.0.0.json | 3 ++- .../archivedinvitations/archivedinvitation-v1.0.0.json | 3 ++- .../mappings/os-v2/communitymembers/members/member-v1.0.0.json | 3 ++- .../archivedinvitations/archivedinvitation-v1.0.0.json | 3 ++- .../mappings/v7/communitymembers/members/member-v1.0.0.json | 3 ++- 6 files changed, 12 insertions(+), 6 deletions(-) diff --git a/invenio_communities/members/records/mappings/os-v1/communitymembers/archivedinvitations/archivedinvitation-v1.0.0.json b/invenio_communities/members/records/mappings/os-v1/communitymembers/archivedinvitations/archivedinvitation-v1.0.0.json index d351e4bba..b87810e14 100644 --- a/invenio_communities/members/records/mappings/os-v1/communitymembers/archivedinvitations/archivedinvitation-v1.0.0.json +++ b/invenio_communities/members/records/mappings/os-v1/communitymembers/archivedinvitations/archivedinvitation-v1.0.0.json @@ -62,7 +62,8 @@ "affiliations": { "type": "text" } - } + }, + "dynamic": true }, "preferences": { "properties": { diff --git a/invenio_communities/members/records/mappings/os-v1/communitymembers/members/member-v1.0.0.json b/invenio_communities/members/records/mappings/os-v1/communitymembers/members/member-v1.0.0.json index d351e4bba..b87810e14 100644 --- a/invenio_communities/members/records/mappings/os-v1/communitymembers/members/member-v1.0.0.json +++ b/invenio_communities/members/records/mappings/os-v1/communitymembers/members/member-v1.0.0.json @@ -62,7 +62,8 @@ "affiliations": { "type": "text" } - } + }, + "dynamic": true }, "preferences": { "properties": { diff --git a/invenio_communities/members/records/mappings/os-v2/communitymembers/archivedinvitations/archivedinvitation-v1.0.0.json b/invenio_communities/members/records/mappings/os-v2/communitymembers/archivedinvitations/archivedinvitation-v1.0.0.json index d351e4bba..b87810e14 100644 --- a/invenio_communities/members/records/mappings/os-v2/communitymembers/archivedinvitations/archivedinvitation-v1.0.0.json +++ b/invenio_communities/members/records/mappings/os-v2/communitymembers/archivedinvitations/archivedinvitation-v1.0.0.json @@ -62,7 +62,8 @@ "affiliations": { "type": "text" } - } + }, + "dynamic": true }, "preferences": { "properties": { diff --git a/invenio_communities/members/records/mappings/os-v2/communitymembers/members/member-v1.0.0.json b/invenio_communities/members/records/mappings/os-v2/communitymembers/members/member-v1.0.0.json index d351e4bba..b87810e14 100644 --- a/invenio_communities/members/records/mappings/os-v2/communitymembers/members/member-v1.0.0.json +++ b/invenio_communities/members/records/mappings/os-v2/communitymembers/members/member-v1.0.0.json @@ -62,7 +62,8 @@ "affiliations": { "type": "text" } - } + }, + "dynamic": true }, "preferences": { "properties": { diff --git a/invenio_communities/members/records/mappings/v7/communitymembers/archivedinvitations/archivedinvitation-v1.0.0.json b/invenio_communities/members/records/mappings/v7/communitymembers/archivedinvitations/archivedinvitation-v1.0.0.json index d351e4bba..b87810e14 100644 --- a/invenio_communities/members/records/mappings/v7/communitymembers/archivedinvitations/archivedinvitation-v1.0.0.json +++ b/invenio_communities/members/records/mappings/v7/communitymembers/archivedinvitations/archivedinvitation-v1.0.0.json @@ -62,7 +62,8 @@ "affiliations": { "type": "text" } - } + }, + "dynamic": true }, "preferences": { "properties": { diff --git a/invenio_communities/members/records/mappings/v7/communitymembers/members/member-v1.0.0.json b/invenio_communities/members/records/mappings/v7/communitymembers/members/member-v1.0.0.json index d351e4bba..b87810e14 100644 --- a/invenio_communities/members/records/mappings/v7/communitymembers/members/member-v1.0.0.json +++ b/invenio_communities/members/records/mappings/v7/communitymembers/members/member-v1.0.0.json @@ -62,7 +62,8 @@ "affiliations": { "type": "text" } - } + }, + "dynamic": true }, "preferences": { "properties": {