mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged BRANCHES/V3.2 to HEAD:
18564: Fixed ETHREEOH-4031: ParentAssocsCache gets out of date when parent NodeRefs are modified 18569: Fix ETHREEOH-3632: UI - View versioned properties fails when node associations are present 18579: Fix failing unit test after CHK-11190 18580: Fixed parentAssocsCache invalidation for parent NodeRef modification 18597: Fixed ETHREEOH-3996 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19214 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -235,20 +235,11 @@ public class NodeServiceImplTest extends BaseVersionStoreTest
|
||||
if (versionService.getVersionStoreReference().getIdentifier().equals(Version2Model.STORE_ID))
|
||||
{
|
||||
// V2 version store (eg. workspace://version2Store)
|
||||
try
|
||||
{
|
||||
this.lightWeightVersionStoreNodeService.getTargetAssocs(
|
||||
dummyNodeRef,
|
||||
RegexQNamePattern.MATCH_ALL);
|
||||
fail("This operation is not supported.");
|
||||
}
|
||||
catch (UnsupportedOperationException exception)
|
||||
{
|
||||
if (exception.getMessage() != MSG_ERR)
|
||||
{
|
||||
fail("Unexpected exception raised during method excution: " + exception.getMessage());
|
||||
}
|
||||
}
|
||||
// See ETHREEOH-3632: method now doesn't blow up.
|
||||
List<AssociationRef> assocs = this.lightWeightVersionStoreNodeService.getTargetAssocs(
|
||||
dummyNodeRef,
|
||||
RegexQNamePattern.MATCH_ALL);
|
||||
assertEquals("Currently the assocs will be empty", 0, assocs.size());
|
||||
}
|
||||
else if (versionService.getVersionStoreReference().getIdentifier().equals(VersionModel.STORE_ID))
|
||||
{
|
||||
|
Reference in New Issue
Block a user