From c7e79193b03787a219d0d5bebfda2781ca68ed28 Mon Sep 17 00:00:00 2001 From: Kacper Magdziarz <95610011+kmagdziarz@users.noreply.github.com> Date: Mon, 13 Jan 2025 13:12:04 +0100 Subject: [PATCH] [ACS-9045] Bump Spring Framework to 6.2.0 (#3083) * [ACS-9045] Bump Spring Framework to 6.2.0 * [ACS-9045] Bump Surf Webscripts to 10.0 * [ACS-9045] Force bean initiation order * [ACS-9045] Use not Deprecated determineTransactionManager method Co-authored-by: Damian Ujma --- pom.xml | 4 +- .../RetryingTransactionInterceptor.java | 2 +- .../public-services-security-context.xml | 56 +++++++++---------- .../src/test/resources/log4j2.properties | 2 +- 4 files changed, 32 insertions(+), 32 deletions(-) diff --git a/pom.xml b/pom.xml index 8a772ab34f..4172980a61 100644 --- a/pom.xml +++ b/pom.xml @@ -57,13 +57,13 @@ 1.0.2 1.9.22.1 - 6.1.14 + 6.2.1 6.3.4 3.5.3 2.17.2 4.0.5 1.0.0-jakarta-1 - 9.4 + 10.0 1.79 5.14.1 3.26.3 diff --git a/repository/src/main/java/org/alfresco/repo/transaction/RetryingTransactionInterceptor.java b/repository/src/main/java/org/alfresco/repo/transaction/RetryingTransactionInterceptor.java index b00b6671a1..fbc096cdce 100755 --- a/repository/src/main/java/org/alfresco/repo/transaction/RetryingTransactionInterceptor.java +++ b/repository/src/main/java/org/alfresco/repo/transaction/RetryingTransactionInterceptor.java @@ -64,7 +64,7 @@ public class RetryingTransactionInterceptor extends TransactionAspectSupport imp final TransactionAttribute txnAttr = getTransactionAttributeSource().getTransactionAttribute( method, invocation.getThis().getClass()); - final TransactionManager tm = determineTransactionManager(txnAttr); + final TransactionManager tm = determineTransactionManager(txnAttr, null); if (tm != null && !(tm instanceof PlatformTransactionManager)) { diff --git a/repository/src/main/resources/alfresco/public-services-security-context.xml b/repository/src/main/resources/alfresco/public-services-security-context.xml index 6b7806df0a..dffc9e3b35 100644 --- a/repository/src/main/resources/alfresco/public-services-security-context.xml +++ b/repository/src/main/resources/alfresco/public-services-security-context.xml @@ -32,12 +32,12 @@ - + - + org.alfresco.repo.security.permissions.PermissionServiceSPI @@ -57,7 +57,7 @@ - + @@ -112,7 +112,7 @@ - + @@ -127,7 +127,7 @@ - + @@ -172,9 +172,9 @@ - + - + @@ -284,7 +284,7 @@ ${security.postProcessDenies} - + @@ -492,7 +492,7 @@ - + @@ -576,7 +576,7 @@ - + @@ -1005,11 +1005,11 @@ - + - + @@ -1023,12 +1023,12 @@ - - + + - + @@ -1072,13 +1072,13 @@ - + - + @@ -1132,7 +1132,7 @@ - + @@ -1140,7 +1140,7 @@ - + @@ -1166,7 +1166,7 @@ - + @@ -1198,9 +1198,9 @@ - + - + @@ -1217,10 +1217,10 @@ - + - + @@ -1236,14 +1236,14 @@ - - + + - + - + diff --git a/repository/src/test/resources/log4j2.properties b/repository/src/test/resources/log4j2.properties index 6a3a648f4f..f320e9bf15 100644 --- a/repository/src/test/resources/log4j2.properties +++ b/repository/src/test/resources/log4j2.properties @@ -463,4 +463,4 @@ logger.alfresco-repo-thumbnail-ThumbnailServiceImplTest.name=org.alfresco.repo.t logger.alfresco-repo-thumbnail-ThumbnailServiceImplTest.level=debug logger.alfresco-repo-rendition2-RenditionService2Impl.name=org.alfresco.repo.rendition2.RenditionService2Impl -logger.alfresco-repo-rendition2-RenditionService2Impl.level=debug \ No newline at end of file +logger.alfresco-repo-rendition2-RenditionService2Impl.level=debug