mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM Unit Tests:
* Removed web script tests dependancy on DOD test data * refactor base RM test and placed common utils in common class * base rm web script class created * unit tests refactored (still some work on the older tests required) * junit conflict resolved RM Bug Fixs: * user rights view working again * fix from Erik so RM admin console works git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@35190 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -49,7 +49,8 @@ public class FileableCapabilityCondition extends AbstractCapabilityCondition
|
||||
@Override
|
||||
public boolean evaluate(NodeRef nodeRef)
|
||||
{
|
||||
QName type = nodeService.getType(nodeRef);
|
||||
QName type = nodeService.getType(nodeRef);
|
||||
// TODO and not already a record?
|
||||
return (dictionaryService.isSubClass(type, ContentModel.TYPE_CONTENT) ||
|
||||
dictionaryService.isSubClass(type, TYPE_NON_ELECTRONIC_DOCUMENT));
|
||||
}
|
||||
|
Reference in New Issue
Block a user