From c721d05d176a027e9f462e512f6b172aa02805b7 Mon Sep 17 00:00:00 2001 From: Thomas Georgios Giannos Date: Wed, 26 Jun 2024 13:20:07 +0300 Subject: [PATCH 1/2] Small fix --- .../main/java/org/opencdmp/controllers/EntityDoiController.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/web/src/main/java/org/opencdmp/controllers/EntityDoiController.java b/backend/web/src/main/java/org/opencdmp/controllers/EntityDoiController.java index 9a7760fae..58ba122aa 100644 --- a/backend/web/src/main/java/org/opencdmp/controllers/EntityDoiController.java +++ b/backend/web/src/main/java/org/opencdmp/controllers/EntityDoiController.java @@ -24,6 +24,7 @@ import org.opencdmp.controllers.swagger.SwaggerHelpers; import org.opencdmp.controllers.swagger.annotation.OperationWithTenantHeader; import org.opencdmp.controllers.swagger.annotation.Swagger400; import org.opencdmp.controllers.swagger.annotation.Swagger404; +import org.opencdmp.controllers.swagger.annotation.SwaggerCommonErrorResponses; import org.opencdmp.data.EntityDoiEntity; import org.opencdmp.model.DescriptionTemplateType; import org.opencdmp.model.EntityDoi; @@ -47,6 +48,7 @@ import java.util.*; @RestController @RequestMapping(path = "api/entity-doi") @Tag(name = "Entity DOIs", description = "Manage entity dois") +@SwaggerCommonErrorResponses public class EntityDoiController { private static final LoggerService logger = new LoggerService(LoggerFactory.getLogger(EntityDoiController.class)); From f18313dfa69558391dd3083ac34f1dbf2978c6aa Mon Sep 17 00:00:00 2001 From: amentis Date: Wed, 26 Jun 2024 13:22:38 +0300 Subject: [PATCH 2/2] fix issue 'view plan,description overview when you are logout' --- .../description/overview/description-overview.component.html | 4 ++-- .../src/app/ui/dmp/overview/dmp-overview.component.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dmp-frontend/src/app/ui/description/overview/description-overview.component.html b/dmp-frontend/src/app/ui/description/overview/description-overview.component.html index 8bd788b90..83976ff93 100644 --- a/dmp-frontend/src/app/ui/description/overview/description-overview.component.html +++ b/dmp-frontend/src/app/ui/description/overview/description-overview.component.html @@ -1,6 +1,6 @@
-
+
@@ -201,7 +201,7 @@

{{ dmpUser.user?.name }}

-

{{ userName }} +

{{ userName }} ({{ 'DESCRIPTION-OVERVIEW.YOU' | translate }})

diff --git a/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.component.html b/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.component.html index 02dc3bb45..0e38886e0 100644 --- a/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.component.html +++ b/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.component.html @@ -1,6 +1,6 @@
-
+
@@ -256,7 +256,7 @@

{{ dmpUser.user?.name }}

-

{{ userName }} +

{{ userName }} ({{ 'DMP-OVERVIEW.YOU' | translate }})