From d817386ba1234cd0a55c891c2e1beb93e9c83d6a Mon Sep 17 00:00:00 2001 From: Ryan Mathis Date: Mon, 1 Mar 2021 10:24:43 -0700 Subject: [PATCH] Fixed issue with contention --- backend/src/main/resources/i18n/messages.properties | 1 + .../component/contention-dialog.component.html | 12 ++++++++---- ui/src/app/contention/effect/contention.effect.ts | 6 ------ .../metadata/provider/effect/collection.effect.ts | 4 ++-- .../app/metadata/provider/effect/editor.effect.ts | 13 ++++++++----- .../app/metadata/resolver/effect/entity.effect.ts | 11 +++++++++-- 6 files changed, 28 insertions(+), 19 deletions(-) diff --git a/backend/src/main/resources/i18n/messages.properties b/backend/src/main/resources/i18n/messages.properties index 0d5356269..0032a25ed 100644 --- a/backend/src/main/resources/i18n/messages.properties +++ b/backend/src/main/resources/i18n/messages.properties @@ -453,6 +453,7 @@ message.protocol-support-required=Protocol Support Enumeration is required if an message.conflict=Conflict message.data-version-contention=Data Version Contention message.contention-new-version=A newer version of this metadata source has been saved. Below are a list of changes. You can use your changes or their changes. +message.contention-error=There was a problem saving due to a mismatched version. message.organization-feedback=These three fields must all be entered if any single field has a value. message.valid-email=Must be a valid Email Address message.valid-url=Must be a valid URL diff --git a/ui/src/app/contention/component/contention-dialog.component.html b/ui/src/app/contention/component/contention-dialog.component.html index 0922f982f..1ff63bb4b 100644 --- a/ui/src/app/contention/component/contention-dialog.component.html +++ b/ui/src/app/contention/component/contention-dialog.component.html @@ -3,12 +3,16 @@