From a4562133d59d5f941bd31e1408945bbec4718351 Mon Sep 17 00:00:00 2001 From: Thomas <> Date: Tue, 22 Aug 2023 08:58:26 +0200 Subject: fix(core): remove pendingRequest from PendingReqIdValidationException before forwarding to error handling Reason: Error serialization is only allowed for a specific set of classes and the PendingRequest is already set in a seperate field. --- .../at/gv/egiz/eaaf/core/impl/idp/controller/AbstractController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/controller/AbstractController.java b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/controller/AbstractController.java index ab0ce9d5..c47446d8 100644 --- a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/controller/AbstractController.java +++ b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/controller/AbstractController.java @@ -210,9 +210,9 @@ public abstract class AbstractController { if (((PendingReqIdValidationException) exceptionThrown).getInvalidPendingReq() != null) { pendingReq = ((PendingReqIdValidationException) exceptionThrown).getInvalidPendingReq(); + ((PendingReqIdValidationException) exceptionThrown).setInvalidPendingReq(null); } - } // use TaskExecutionException directly, if no Original Exeception is included -- cgit v1.2.3