mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-978 (Unable to navigate to copied folder from a collaboration site to RM site)
* Fixed last failing tests * Tests now run as a non-admin user git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@94260 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -79,8 +79,7 @@ public class ObjectType extends BaseBehaviourBean implements NodeServicePolicies
|
||||
}
|
||||
|
||||
// Documents can be moved only into a RM folder
|
||||
NodeRef target = newChildAssocRef.getChildRef();
|
||||
if (isTargetParentFilePlanComponent && !isRecordFolder(target))
|
||||
if (isTargetParentFilePlanComponent && !isRecordFolder(targetParent))
|
||||
{
|
||||
throw new AlfrescoRuntimeException("A document can only be moved into a folder in RM site.");
|
||||
}
|
||||
|
Reference in New Issue
Block a user