mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Merged BRANCHES/V2.0 to HEAD:
47857: RM-626: Alfresco is not started with RM module applied git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@51942 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -467,7 +467,7 @@ public class RecordsManagementAdminServiceImpl implements RecordsManagementAdmin
|
||||
if (name.endsWith("Properties") == true)
|
||||
{
|
||||
QName type = null;
|
||||
String prefixString = aspectDef.getDescription();
|
||||
String prefixString = aspectDef.getDescription(dictionaryService);
|
||||
if (prefixString == null)
|
||||
{
|
||||
// Backward compatibility from previous RM V1.0 custom models
|
||||
|
@@ -818,7 +818,7 @@ public class RecordsManagementAuditServiceImpl
|
||||
if (nodeTypeQname != null)
|
||||
{
|
||||
TypeDefinition typeDef = dictionaryService.getType(nodeTypeQname);
|
||||
nodeType = (typeDef != null) ? typeDef.getTitle() : null;
|
||||
nodeType = (typeDef != null) ? typeDef.getTitle(dictionaryService) : null;
|
||||
}
|
||||
}
|
||||
else if (values.containsKey(RecordsManagementAuditService.RM_AUDIT_DATA_LOGIN_USERNAME))
|
||||
|
@@ -96,7 +96,7 @@ public class CustomisableGet extends DeclarativeWebScript
|
||||
if (definition != null)
|
||||
{
|
||||
String name = qname.toPrefixString(namespaceService);
|
||||
String title = definition.getTitle();
|
||||
String title = definition.getTitle(dictionaryService);
|
||||
if (title == null || title.length() == 0)
|
||||
{
|
||||
title = qname.getLocalName();
|
||||
|
@@ -94,7 +94,7 @@ public class RecordMetaDataAspectsGet extends DeclarativeWebScript
|
||||
if (aspectDefinition != null)
|
||||
{
|
||||
// Fet the label from the aspect definition
|
||||
label = aspectDefinition.getTitle();
|
||||
label = aspectDefinition.getTitle(dictionaryService);
|
||||
}
|
||||
aspect.put("value", label);
|
||||
|
||||
|
@@ -105,7 +105,7 @@ public class RMSearchPropertiesGet extends DeclarativeWebScript
|
||||
}
|
||||
|
||||
AspectDefinition aspectDefinition = dictionaryService.getAspect(aspect);
|
||||
Group group = new Group(aspect.getLocalName(), aspectDefinition.getTitle(), propObjs);
|
||||
Group group = new Group(aspect.getLocalName(), aspectDefinition.getTitle(dictionaryService), propObjs);
|
||||
groups.add(group);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user