mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
ACS-976 Metadata extraction NPE thrown in multi-node cluster using ATS (#190)
* ACS-976 Metadata extraction NPE thrown in multi-node cluster using ATS In a multi repo node cluster, it is possible one node requests a metadata extract via the ATS and that another responds to it. In this case the responder needs to recreate the TransformRequest. In this case the target mimetype was wrong, resulting in the TransformRequest being sent to the wrong code which then through a NPE because there was no replyQueue specified on the TransformRequest. * ACS-963 Investigate testSharedLinkCreateGetDelete failures Modified date changes. It can change now as metadata extract is async
This commit is contained in:
@@ -483,7 +483,7 @@ public class SharedLinkApiTest extends AbstractBaseApiTest
|
||||
response = getSingle(NodesEntityResource.class, d1Id, null, 200);
|
||||
nodeResp = RestApiUtil.parseRestApiEntry(response.getJsonResponse(), Node.class);
|
||||
|
||||
assertEquals(docModifiedAt.getTime(), nodeResp.getModifiedAt().getTime()); // not changed
|
||||
// assertEquals(docModifiedAt.getTime(), nodeResp.getModifiedAt().getTime()); // not changed - now can be as metadata extract is async
|
||||
assertEquals(docModifiedBy, nodeResp.getModifiedByUser().getId()); // not changed (ie. not user2)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user