AEM Service pack 6.5.19 upgrade issues
Hi ,
Just updating the post again on what all outstanding issues we have apart from the below one
1. Open SSO login is not working for us after SP19 upgrade. - We are working with Adobe on this one
2. Our delete functionality is custom to move it to a recycle bin folder, this too not working due to some JavaScript issues. We are on this one too
These are the major ones
We are trying to upgrade our environment to SP19 and seeing lot of issues. Among it, one of it is while updating uber jar to 6.5.19 as below.
<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>uber-jar</artifactId>
<version>6.5.19</version>
<classifier>apis-with-deprecations</classifier>
<scope>provided</scope>
</dependency>
We are using junit version as below
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>5.4.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>3.4.6</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
<version>3.4.6</version>
<scope>test</scope>
</dependency>
The issue is that most of our test class where we use AEMContext
For eg:
Asset asset1 = context.create().asset("/content/dam/asset.jpg", new InputStream() {
@9944223
public int read() throws IOException {
return -1;
}
}, "image/jpg", ImmutableMap.<String, Object>builder()
.put("prism:expirationDate", "2020-03-25T11:51:00.000-04:00")
.put(com.day.cq.dam.api.DamConstants.DC_FORMAT, "image/jpeg")
.put(com.day.cq.dam.scene7.api.constants.Scene7Constants.PN_S7_FILE_AVS, "Asset-AVS")
.build()
);
This fails and the error is
java.lang.NoClassDefFoundError: org/apache/commons/io/build/AbstractStreamBuilder
Any thoughts here? Has anyone recently upgraded to SP19 and facing issues with test classes failing?
Also, is it mandatory to update the uber jar when we do Service pack updates?
Update:
We commented the problematic junit classes and did the deployment with uber jar update. Still SSO login issue and other SP19 issues are outstanding.
