Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)

59855: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (Cloud/4.3)
      59601: Merged DEV to V4.2-BUG-FIX
         58003: Prevent QNameDAO from being used without a txn (MNT-9806)
         58022: Fix bootstrap sequencing issues related to Content Publishing and Site models
                - I thought I had broken something but it's one of those random bean loading issues that we don't commonly see
                - Pulled models into core model lists so that we know and understand the ordering of the model loading
                - Removed QNameDAO transaction check, just in case (will reapply it with subsequent commit)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62193 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alan Davis
2014-02-12 08:07:52 +00:00
parent 79ccf18f85
commit 4119889331
6 changed files with 37 additions and 22 deletions

View File

@@ -1094,6 +1094,8 @@ public abstract class BaseNodeServiceTest extends BaseSpringTest
setComplete();
endTransaction();
startNewTransaction();
assertFalse("n6 not directly deleted", nodeService.exists(n6Ref));
assertFalse("n8 not cascade deleted", nodeService.exists(n8Ref));
assertEquals("n6 primary parent association not removed from n3", 0, countChildrenOfNode(n3Ref));
@@ -1845,6 +1847,8 @@ public abstract class BaseNodeServiceTest extends BaseSpringTest
setComplete();
endTransaction();
startNewTransaction();
// get the properties back
Map<QName, Serializable> checkProperties = nodeService.getProperties(nodeRef);
checkProperty = checkProperties.get(PROP_QNAME_ENCRYPTED_VALUE);