From a4ca80e93c628da0a0a97390b707f351877180b9 Mon Sep 17 00:00:00 2001 From: Alan Davis Date: Wed, 4 Feb 2015 07:44:22 +0000 Subject: [PATCH] Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud) 95990: Merged 5.0.N (5.0.1) to HEAD-BUG-FIX (5.1/Cloud) 95738: MNT-12995: Items are not accessible using the urls received via IMAP Modified the test to correspond with the new IMAP message. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@96019 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- source/test-java/org/alfresco/repo/imap/ImapMessageTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/test-java/org/alfresco/repo/imap/ImapMessageTest.java b/source/test-java/org/alfresco/repo/imap/ImapMessageTest.java index f1d4ecd734..415d391c68 100644 --- a/source/test-java/org/alfresco/repo/imap/ImapMessageTest.java +++ b/source/test-java/org/alfresco/repo/imap/ImapMessageTest.java @@ -311,7 +311,9 @@ public class ImapMessageTest extends TestCase NodeRef contentNode = findNode(companyHomePathInStore + TEST_FILE); UserTransaction txn = transactionService.getUserTransaction(); txn.begin(); - fileFolderService.rename(contentNode, "testtesttesttesttesttesttesttesttesttest"); + // modified the new name as the BASE64Decoder may not throw the IOException + // see MNT-12995 + fileFolderService.rename(contentNode, "testtesttesttesttesttesttesttesttesttest1"); txn.commit(); // Read second message part