mirror of
				https://github.com/Alfresco/alfresco-community-repo.git
				synced 2025-10-29 15:21:53 +00:00 
			
		
		
		
	Compare commits
	
		
			15 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					197590eef4 | ||
| 
						 | 
					102f59cde1 | ||
| 
						 | 
					529699b5e1 | ||
| 
						 | 
					96456ec719 | ||
| 
						 | 
					71bbb579e6 | ||
| 
						 | 
					51dcf28756 | ||
| 
						 | 
					1639a17451 | ||
| 
						 | 
					585e6042cb | ||
| 
						 | 
					8364211384 | ||
| 
						 | 
					f68d304d57 | ||
| 
						 | 
					b55e1114e6 | ||
| 
						 | 
					0e23ba37c6 | ||
| 
						 | 
					38a4d378d9 | ||
| 
						 | 
					65a562cd73 | ||
| 
						 | 
					8eab098317 | 
@@ -7,7 +7,7 @@
 | 
				
			|||||||
   <parent>
 | 
					   <parent>
 | 
				
			||||||
      <groupId>org.alfresco</groupId>
 | 
					      <groupId>org.alfresco</groupId>
 | 
				
			||||||
      <artifactId>alfresco-community-repo-amps</artifactId>
 | 
					      <artifactId>alfresco-community-repo-amps</artifactId>
 | 
				
			||||||
      <version>20.161</version>
 | 
					      <version>21.5</version>
 | 
				
			||||||
   </parent>
 | 
					   </parent>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   <modules>
 | 
					   <modules>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,7 +7,7 @@
 | 
				
			|||||||
   <parent>
 | 
					   <parent>
 | 
				
			||||||
      <groupId>org.alfresco</groupId>
 | 
					      <groupId>org.alfresco</groupId>
 | 
				
			||||||
      <artifactId>alfresco-governance-services-community-parent</artifactId>
 | 
					      <artifactId>alfresco-governance-services-community-parent</artifactId>
 | 
				
			||||||
      <version>20.161</version>
 | 
					      <version>21.5</version>
 | 
				
			||||||
   </parent>
 | 
					   </parent>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   <modules>
 | 
					   <modules>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,7 +7,7 @@
 | 
				
			|||||||
   <parent>
 | 
					   <parent>
 | 
				
			||||||
      <groupId>org.alfresco</groupId>
 | 
					      <groupId>org.alfresco</groupId>
 | 
				
			||||||
      <artifactId>alfresco-governance-services-automation-community-repo</artifactId>
 | 
					      <artifactId>alfresco-governance-services-automation-community-repo</artifactId>
 | 
				
			||||||
      <version>20.161</version>
 | 
					      <version>21.5</version>
 | 
				
			||||||
   </parent>
 | 
					   </parent>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   <build>
 | 
					   <build>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,7 +7,7 @@
 | 
				
			|||||||
   <parent>
 | 
					   <parent>
 | 
				
			||||||
      <groupId>org.alfresco</groupId>
 | 
					      <groupId>org.alfresco</groupId>
 | 
				
			||||||
      <artifactId>alfresco-governance-services-community-parent</artifactId>
 | 
					      <artifactId>alfresco-governance-services-community-parent</artifactId>
 | 
				
			||||||
      <version>20.161</version>
 | 
					      <version>21.5</version>
 | 
				
			||||||
   </parent>
 | 
					   </parent>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   <modules>
 | 
					   <modules>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -8,7 +8,7 @@
 | 
				
			|||||||
   <parent>
 | 
					   <parent>
 | 
				
			||||||
      <groupId>org.alfresco</groupId>
 | 
					      <groupId>org.alfresco</groupId>
 | 
				
			||||||
      <artifactId>alfresco-governance-services-community-repo-parent</artifactId>
 | 
					      <artifactId>alfresco-governance-services-community-repo-parent</artifactId>
 | 
				
			||||||
      <version>20.161</version>
 | 
					      <version>21.5</version>
 | 
				
			||||||
   </parent>
 | 
					   </parent>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   <properties>
 | 
					   <properties>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -5,7 +5,7 @@
 | 
				
			|||||||
# Version label
 | 
					# Version label
 | 
				
			||||||
version.major=7
 | 
					version.major=7
 | 
				
			||||||
version.minor=4
 | 
					version.minor=4
 | 
				
			||||||
version.revision=0
 | 
					version.revision=1
 | 
				
			||||||
version.label=
 | 
					version.label=
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Edition label
 | 
					# Edition label
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,7 +7,7 @@
 | 
				
			|||||||
    <parent>
 | 
					    <parent>
 | 
				
			||||||
        <groupId>org.alfresco</groupId>
 | 
					        <groupId>org.alfresco</groupId>
 | 
				
			||||||
        <artifactId>alfresco-governance-services-community-repo-parent</artifactId>
 | 
					        <artifactId>alfresco-governance-services-community-repo-parent</artifactId>
 | 
				
			||||||
        <version>20.161</version>
 | 
					        <version>21.5</version>
 | 
				
			||||||
    </parent>
 | 
					    </parent>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <build>
 | 
					    <build>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,7 +7,7 @@
 | 
				
			|||||||
    <parent>
 | 
					    <parent>
 | 
				
			||||||
        <groupId>org.alfresco</groupId>
 | 
					        <groupId>org.alfresco</groupId>
 | 
				
			||||||
        <artifactId>alfresco-community-repo</artifactId>
 | 
					        <artifactId>alfresco-community-repo</artifactId>
 | 
				
			||||||
        <version>20.161</version>
 | 
					        <version>21.5</version>
 | 
				
			||||||
    </parent>
 | 
					    </parent>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <modules>
 | 
					    <modules>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -8,7 +8,7 @@
 | 
				
			|||||||
    <parent>
 | 
					    <parent>
 | 
				
			||||||
        <groupId>org.alfresco</groupId>
 | 
					        <groupId>org.alfresco</groupId>
 | 
				
			||||||
        <artifactId>alfresco-community-repo-amps</artifactId>
 | 
					        <artifactId>alfresco-community-repo-amps</artifactId>
 | 
				
			||||||
        <version>20.161</version>
 | 
					        <version>21.5</version>
 | 
				
			||||||
    </parent>
 | 
					    </parent>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <properties>
 | 
					    <properties>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,7 +7,7 @@
 | 
				
			|||||||
   <parent>
 | 
					   <parent>
 | 
				
			||||||
      <groupId>org.alfresco</groupId>
 | 
					      <groupId>org.alfresco</groupId>
 | 
				
			||||||
      <artifactId>alfresco-community-repo</artifactId>
 | 
					      <artifactId>alfresco-community-repo</artifactId>
 | 
				
			||||||
      <version>20.161</version>
 | 
					      <version>21.5</version>
 | 
				
			||||||
   </parent>
 | 
					   </parent>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   <dependencies>
 | 
					   <dependencies>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,7 +7,7 @@
 | 
				
			|||||||
    <parent>
 | 
					    <parent>
 | 
				
			||||||
        <groupId>org.alfresco</groupId>
 | 
					        <groupId>org.alfresco</groupId>
 | 
				
			||||||
        <artifactId>alfresco-community-repo</artifactId>
 | 
					        <artifactId>alfresco-community-repo</artifactId>
 | 
				
			||||||
        <version>20.161</version>
 | 
					        <version>21.5</version>
 | 
				
			||||||
    </parent>
 | 
					    </parent>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <properties>
 | 
					    <properties>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,7 +7,7 @@
 | 
				
			|||||||
    <parent>
 | 
					    <parent>
 | 
				
			||||||
        <groupId>org.alfresco</groupId>
 | 
					        <groupId>org.alfresco</groupId>
 | 
				
			||||||
        <artifactId>alfresco-community-repo</artifactId>
 | 
					        <artifactId>alfresco-community-repo</artifactId>
 | 
				
			||||||
        <version>20.161</version>
 | 
					        <version>21.5</version>
 | 
				
			||||||
    </parent>
 | 
					    </parent>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <dependencies>
 | 
					    <dependencies>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -9,6 +9,6 @@
 | 
				
			|||||||
    <parent>
 | 
					    <parent>
 | 
				
			||||||
        <groupId>org.alfresco</groupId>
 | 
					        <groupId>org.alfresco</groupId>
 | 
				
			||||||
        <artifactId>alfresco-community-repo-packaging</artifactId>
 | 
					        <artifactId>alfresco-community-repo-packaging</artifactId>
 | 
				
			||||||
        <version>20.161</version>
 | 
					        <version>21.5</version>
 | 
				
			||||||
    </parent>
 | 
					    </parent>
 | 
				
			||||||
</project>
 | 
					</project>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,7 +7,7 @@
 | 
				
			|||||||
    <parent>
 | 
					    <parent>
 | 
				
			||||||
        <groupId>org.alfresco</groupId>
 | 
					        <groupId>org.alfresco</groupId>
 | 
				
			||||||
        <artifactId>alfresco-community-repo-packaging</artifactId>
 | 
					        <artifactId>alfresco-community-repo-packaging</artifactId>
 | 
				
			||||||
        <version>20.161</version>
 | 
					        <version>21.5</version>
 | 
				
			||||||
    </parent>
 | 
					    </parent>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <properties>
 | 
					    <properties>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,7 +7,7 @@
 | 
				
			|||||||
    <parent>
 | 
					    <parent>
 | 
				
			||||||
        <groupId>org.alfresco</groupId>
 | 
					        <groupId>org.alfresco</groupId>
 | 
				
			||||||
        <artifactId>alfresco-community-repo</artifactId>
 | 
					        <artifactId>alfresco-community-repo</artifactId>
 | 
				
			||||||
        <version>20.161</version>
 | 
					        <version>21.5</version>
 | 
				
			||||||
    </parent>
 | 
					    </parent>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <modules>
 | 
					    <modules>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -6,7 +6,7 @@
 | 
				
			|||||||
    <parent>
 | 
					    <parent>
 | 
				
			||||||
        <groupId>org.alfresco</groupId>
 | 
					        <groupId>org.alfresco</groupId>
 | 
				
			||||||
        <artifactId>alfresco-community-repo-packaging</artifactId>
 | 
					        <artifactId>alfresco-community-repo-packaging</artifactId>
 | 
				
			||||||
        <version>20.161</version>
 | 
					        <version>21.5</version>
 | 
				
			||||||
    </parent>
 | 
					    </parent>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <modules>
 | 
					    <modules>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,7 +7,7 @@
 | 
				
			|||||||
    <parent>
 | 
					    <parent>
 | 
				
			||||||
        <groupId>org.alfresco</groupId>
 | 
					        <groupId>org.alfresco</groupId>
 | 
				
			||||||
        <artifactId>alfresco-community-repo-tests</artifactId>
 | 
					        <artifactId>alfresco-community-repo-tests</artifactId>
 | 
				
			||||||
        <version>20.161</version>
 | 
					        <version>21.5</version>
 | 
				
			||||||
    </parent>
 | 
					    </parent>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <organization>
 | 
					    <organization>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -9,7 +9,7 @@
 | 
				
			|||||||
    <parent>
 | 
					    <parent>
 | 
				
			||||||
        <groupId>org.alfresco</groupId>
 | 
					        <groupId>org.alfresco</groupId>
 | 
				
			||||||
        <artifactId>alfresco-community-repo-tests</artifactId>
 | 
					        <artifactId>alfresco-community-repo-tests</artifactId>
 | 
				
			||||||
        <version>20.161</version>
 | 
					        <version>21.5</version>
 | 
				
			||||||
    </parent>
 | 
					    </parent>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <developers>
 | 
					    <developers>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -9,7 +9,7 @@
 | 
				
			|||||||
    <parent>
 | 
					    <parent>
 | 
				
			||||||
        <groupId>org.alfresco</groupId>
 | 
					        <groupId>org.alfresco</groupId>
 | 
				
			||||||
        <artifactId>alfresco-community-repo-tests</artifactId>
 | 
					        <artifactId>alfresco-community-repo-tests</artifactId>
 | 
				
			||||||
        <version>20.161</version>
 | 
					        <version>21.5</version>
 | 
				
			||||||
    </parent>
 | 
					    </parent>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <developers>
 | 
					    <developers>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -8,7 +8,7 @@
 | 
				
			|||||||
    <parent>
 | 
					    <parent>
 | 
				
			||||||
        <groupId>org.alfresco</groupId>
 | 
					        <groupId>org.alfresco</groupId>
 | 
				
			||||||
        <artifactId>alfresco-community-repo-tests</artifactId>
 | 
					        <artifactId>alfresco-community-repo-tests</artifactId>
 | 
				
			||||||
        <version>20.161</version>
 | 
					        <version>21.5</version>
 | 
				
			||||||
    </parent>
 | 
					    </parent>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <properties>
 | 
					    <properties>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -9,7 +9,7 @@
 | 
				
			|||||||
    <parent>
 | 
					    <parent>
 | 
				
			||||||
        <groupId>org.alfresco</groupId>
 | 
					        <groupId>org.alfresco</groupId>
 | 
				
			||||||
        <artifactId>alfresco-community-repo-tests</artifactId>
 | 
					        <artifactId>alfresco-community-repo-tests</artifactId>
 | 
				
			||||||
        <version>20.161</version>
 | 
					        <version>21.5</version>
 | 
				
			||||||
    </parent>
 | 
					    </parent>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <developers>
 | 
					    <developers>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,7 +7,7 @@
 | 
				
			|||||||
    <parent>
 | 
					    <parent>
 | 
				
			||||||
        <groupId>org.alfresco</groupId>
 | 
					        <groupId>org.alfresco</groupId>
 | 
				
			||||||
        <artifactId>alfresco-community-repo-packaging</artifactId>
 | 
					        <artifactId>alfresco-community-repo-packaging</artifactId>
 | 
				
			||||||
        <version>20.161</version>
 | 
					        <version>21.5</version>
 | 
				
			||||||
    </parent>
 | 
					    </parent>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <properties>
 | 
					    <properties>
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										8
									
								
								pom.xml
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								pom.xml
									
									
									
									
									
								
							@@ -2,7 +2,7 @@
 | 
				
			|||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 | 
					<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 | 
				
			||||||
    <modelVersion>4.0.0</modelVersion>
 | 
					    <modelVersion>4.0.0</modelVersion>
 | 
				
			||||||
    <artifactId>alfresco-community-repo</artifactId>
 | 
					    <artifactId>alfresco-community-repo</artifactId>
 | 
				
			||||||
    <version>20.161</version>
 | 
					    <version>21.5</version>
 | 
				
			||||||
    <packaging>pom</packaging>
 | 
					    <packaging>pom</packaging>
 | 
				
			||||||
    <name>Alfresco Community Repo Parent</name>
 | 
					    <name>Alfresco Community Repo Parent</name>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -25,7 +25,7 @@
 | 
				
			|||||||
    <properties>
 | 
					    <properties>
 | 
				
			||||||
        <acs.version.major>7</acs.version.major>
 | 
					        <acs.version.major>7</acs.version.major>
 | 
				
			||||||
        <acs.version.minor>4</acs.version.minor>
 | 
					        <acs.version.minor>4</acs.version.minor>
 | 
				
			||||||
        <acs.version.revision>0</acs.version.revision>
 | 
					        <acs.version.revision>1</acs.version.revision>
 | 
				
			||||||
        <acs.version.label />
 | 
					        <acs.version.label />
 | 
				
			||||||
        <amp.min.version>${acs.version.major}.0.0</amp.min.version>
 | 
					        <amp.min.version>${acs.version.major}.0.0</amp.min.version>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -62,7 +62,7 @@
 | 
				
			|||||||
        <dependency.jackson.version>2.15.0-rc1</dependency.jackson.version>
 | 
					        <dependency.jackson.version>2.15.0-rc1</dependency.jackson.version>
 | 
				
			||||||
        <dependency.cxf.version>3.5.5</dependency.cxf.version>
 | 
					        <dependency.cxf.version>3.5.5</dependency.cxf.version>
 | 
				
			||||||
        <dependency.opencmis.version>1.0.0</dependency.opencmis.version>
 | 
					        <dependency.opencmis.version>1.0.0</dependency.opencmis.version>
 | 
				
			||||||
        <dependency.webscripts.version>8.40</dependency.webscripts.version>
 | 
					        <dependency.webscripts.version>8.44</dependency.webscripts.version>
 | 
				
			||||||
        <dependency.bouncycastle.version>1.70</dependency.bouncycastle.version>
 | 
					        <dependency.bouncycastle.version>1.70</dependency.bouncycastle.version>
 | 
				
			||||||
        <dependency.mockito-core.version>4.9.0</dependency.mockito-core.version>
 | 
					        <dependency.mockito-core.version>4.9.0</dependency.mockito-core.version>
 | 
				
			||||||
        <dependency.assertj.version>3.24.2</dependency.assertj.version>
 | 
					        <dependency.assertj.version>3.24.2</dependency.assertj.version>
 | 
				
			||||||
@@ -150,7 +150,7 @@
 | 
				
			|||||||
        <connection>scm:git:https://github.com/Alfresco/alfresco-community-repo.git</connection>
 | 
					        <connection>scm:git:https://github.com/Alfresco/alfresco-community-repo.git</connection>
 | 
				
			||||||
        <developerConnection>scm:git:https://github.com/Alfresco/alfresco-community-repo.git</developerConnection>
 | 
					        <developerConnection>scm:git:https://github.com/Alfresco/alfresco-community-repo.git</developerConnection>
 | 
				
			||||||
        <url>https://github.com/Alfresco/alfresco-community-repo</url>
 | 
					        <url>https://github.com/Alfresco/alfresco-community-repo</url>
 | 
				
			||||||
        <tag>20.161</tag>
 | 
					        <tag>21.5</tag>
 | 
				
			||||||
    </scm>
 | 
					    </scm>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <distributionManagement>
 | 
					    <distributionManagement>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,7 +7,7 @@
 | 
				
			|||||||
    <parent>
 | 
					    <parent>
 | 
				
			||||||
        <groupId>org.alfresco</groupId>
 | 
					        <groupId>org.alfresco</groupId>
 | 
				
			||||||
        <artifactId>alfresco-community-repo</artifactId>
 | 
					        <artifactId>alfresco-community-repo</artifactId>
 | 
				
			||||||
        <version>20.161</version>
 | 
					        <version>21.5</version>
 | 
				
			||||||
    </parent>
 | 
					    </parent>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <dependencies>
 | 
					    <dependencies>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,7 +7,7 @@
 | 
				
			|||||||
    <parent>
 | 
					    <parent>
 | 
				
			||||||
        <groupId>org.alfresco</groupId>
 | 
					        <groupId>org.alfresco</groupId>
 | 
				
			||||||
        <artifactId>alfresco-community-repo</artifactId>
 | 
					        <artifactId>alfresco-community-repo</artifactId>
 | 
				
			||||||
        <version>20.161</version>
 | 
					        <version>21.5</version>
 | 
				
			||||||
    </parent>
 | 
					    </parent>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <dependencies>
 | 
					    <dependencies>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -251,15 +251,16 @@ public class TransactionBehaviourQueue implements TransactionListener
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
        catch (IllegalArgumentException e)
 | 
					        catch (IllegalArgumentException e)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            throw new AlfrescoRuntimeException("Failed to execute transaction-level behaviour " + context.method + " in transaction " + AlfrescoTransactionSupport.getTransactionId(), e);
 | 
					            throw new AlfrescoRuntimeException("Failed to execute transaction-level behaviour " + context.method + " in transaction " + AlfrescoTransactionSupport.getTransactionId() + " : " + e.getMessage(), e);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        catch (IllegalAccessException e)
 | 
					        catch (IllegalAccessException e)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            throw new AlfrescoRuntimeException("Failed to execute transaction-level behaviour " + context.method + " in transaction " + AlfrescoTransactionSupport.getTransactionId(), e);
 | 
					            throw new AlfrescoRuntimeException("Failed to execute transaction-level behaviour " + context.method + " in transaction " + AlfrescoTransactionSupport.getTransactionId() + " : " + e.getMessage(), e);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        catch (InvocationTargetException e)
 | 
					        catch (InvocationTargetException e)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            throw new AlfrescoRuntimeException("Failed to execute transaction-level behaviour " + context.method + " in transaction " + AlfrescoTransactionSupport.getTransactionId(), e.getTargetException());
 | 
					            String msg = e.getMessage() + (e.getTargetException() != null ? "(" + e.getTargetException().getMessage() + ")" : "");
 | 
				
			||||||
 | 
					            throw new AlfrescoRuntimeException("Failed to execute transaction-level behaviour " + context.method + " in transaction " + AlfrescoTransactionSupport.getTransactionId() + " : " + msg, e.getTargetException());
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1605,8 +1605,6 @@ public class LDAPUserRegistry implements UserRegistry, LDAPNameResolver, Initial
 | 
				
			|||||||
                    this.userSearchCtls = new SearchControls();
 | 
					                    this.userSearchCtls = new SearchControls();
 | 
				
			||||||
                    this.userSearchCtls.setSearchScope(SearchControls.SUBTREE_SCOPE);
 | 
					                    this.userSearchCtls.setSearchScope(SearchControls.SUBTREE_SCOPE);
 | 
				
			||||||
                    this.userSearchCtls.setReturningAttributes(LDAPUserRegistry.this.userKeys.getFirst());
 | 
					                    this.userSearchCtls.setReturningAttributes(LDAPUserRegistry.this.userKeys.getFirst());
 | 
				
			||||||
                    // MNT-14001 fix, set search limit to ensure that server will not return more search results then provided by paged result control
 | 
					 | 
				
			||||||
                    this.userSearchCtls.setCountLimit(LDAPUserRegistry.this.queryBatchSize > 0 ? LDAPUserRegistry.this.queryBatchSize : 0);
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    this.next = fetchNext();
 | 
					                    this.next = fetchNext();
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -997,6 +997,20 @@ public class WorkflowServiceImpl implements WorkflowService
 | 
				
			|||||||
    public WorkflowTask updateTask(String taskId, Map<QName, Serializable> properties, Map<QName, List<NodeRef>> add,
 | 
					    public WorkflowTask updateTask(String taskId, Map<QName, Serializable> properties, Map<QName, List<NodeRef>> add,
 | 
				
			||||||
                Map<QName, List<NodeRef>> remove)
 | 
					                Map<QName, List<NodeRef>> remove)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					    	if(properties.containsKey(WorkflowModel.PROP_STATUS)) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            LinkedList<String> validTaskStatus = new LinkedList<>();
 | 
				
			||||||
 | 
					            validTaskStatus.add("Not Yet Started");
 | 
				
			||||||
 | 
					            validTaskStatus.add("In Progress");
 | 
				
			||||||
 | 
					            validTaskStatus.add("On Hold");
 | 
				
			||||||
 | 
					            validTaskStatus.add("Cancelled");
 | 
				
			||||||
 | 
					            validTaskStatus.add("Completed");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            if (!validTaskStatus.contains(properties.get(WorkflowModel.PROP_STATUS))) {
 | 
				
			||||||
 | 
					                throw new WorkflowException("Invalid Value is Passed for Task Status.");
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
						
 | 
				
			||||||
        String engineId = BPMEngineRegistry.getEngineId(taskId);
 | 
					        String engineId = BPMEngineRegistry.getEngineId(taskId);
 | 
				
			||||||
        TaskComponent component = getTaskComponent(engineId);
 | 
					        TaskComponent component = getTaskComponent(engineId);
 | 
				
			||||||
        // get the current assignee before updating the task
 | 
					        // get the current assignee before updating the task
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -3,7 +3,7 @@
 | 
				
			|||||||
repository.name=Main Repository
 | 
					repository.name=Main Repository
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Schema number
 | 
					# Schema number
 | 
				
			||||||
version.schema=18000
 | 
					version.schema=18100
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Directory configuration
 | 
					# Directory configuration
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -1349,7 +1349,7 @@ system.remove-alf_server-table-from-db.ignored=true
 | 
				
			|||||||
allow.unsecure.callback.jsonp=false
 | 
					allow.unsecure.callback.jsonp=false
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# pre-configured allow list of media/mime types to allow inline instead of attachment (via Content-Disposition response header)
 | 
					# pre-configured allow list of media/mime types to allow inline instead of attachment (via Content-Disposition response header)
 | 
				
			||||||
content.nonAttach.mimetypes=application/pdf,image/jpeg,image/gif,image/png,image/tiff,image/bmp
 | 
					content.nonAttach.mimetypes=application/pdf,image/jpeg,image/gif,image/png,image/tiff,image/bmp,application/octet-stream
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Zip file compression ratio threshold as a percentage, above which the zip file will be considered a "zip bomb" and the
 | 
					# Zip file compression ratio threshold as a percentage, above which the zip file will be considered a "zip bomb" and the
 | 
				
			||||||
# import extraction process cancelled.
 | 
					# import extraction process cancelled.
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user