mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V3.0 to HEAD
11360: Fixed MySQL upgrade path from pre-2.9: Copying the user usage data is now optional as the table might be missing. 11363: Merged V2.2 to V3.0 11320: Fixed ETWOTWO-747: Incorrect historical tables created during Oracle upgrade 11336: Upgrade script optimizations 11340: Fix for ETWOTWO-752: Expired content task shows all items in the web project 11362: Fixed ETHREEOH-402: Error while attempting to set node DB ID and other unsettable properties 11367: Removed old blog detritus git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@12423 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1575,6 +1575,15 @@ public abstract class BaseNodeServiceTest extends BaseSpringTest
|
||||
assertTrue("Node DB ID property not present in map", properties.containsKey(ContentModel.PROP_NODE_DBID));
|
||||
}
|
||||
|
||||
public void testReferencePropertySet() throws Exception
|
||||
{
|
||||
Serializable nodeDbId = nodeService.getProperty(rootNodeRef, ContentModel.PROP_NODE_DBID);
|
||||
// Now set it
|
||||
nodeService.setProperty(rootNodeRef, ContentModel.PROP_NODE_DBID, new Long(-1));
|
||||
Serializable nodeDbIdCheck = nodeService.getProperty(rootNodeRef, ContentModel.PROP_NODE_DBID);
|
||||
assertEquals("Cannot set Node DB ID", nodeDbId, nodeDbIdCheck);
|
||||
}
|
||||
|
||||
public void testGetParentAssocs() throws Exception
|
||||
{
|
||||
Map<QName, ChildAssociationRef> assocRefs = buildNodeGraph();
|
||||
|
Reference in New Issue
Block a user