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
This commit is contained in:
Alan Davis
2015-02-04 07:44:22 +00:00
parent 90d417a6a9
commit a4ca80e93c

View File

@@ -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