You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2022/06/29 16:13:11 UTC
[syncope] branch master updated: Ensuring BatchItemRequest#setAttribute works for Payara
This is an automated email from the ASF dual-hosted git repository.
ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/master by this push:
new c6c0c517eb Ensuring BatchItemRequest#setAttribute works for Payara
c6c0c517eb is described below
commit c6c0c517ebc32510988a7c299ea9cd976a4f9f83
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Wed Jun 29 18:13:03 2022 +0200
Ensuring BatchItemRequest#setAttribute works for Payara
---
.../org/apache/syncope/core/rest/cxf/batch/BatchItemRequest.java | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/batch/BatchItemRequest.java b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/batch/BatchItemRequest.java
index 9e04f28538..71e0c29635 100644
--- a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/batch/BatchItemRequest.java
+++ b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/batch/BatchItemRequest.java
@@ -212,6 +212,15 @@ public class BatchItemRequest extends HttpServletRequestWrapper {
}
}
+ @Override
+ public void setAttribute(final String name, final Object o) {
+ try {
+ super.setAttribute(name, o);
+ } catch (Exception e) {
+ LOG.debug("While delegating to wrapped request", e);
+ }
+ }
+
@Override
public String getCharacterEncoding() {
try {