mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-1233, Can now specify file-to action folders and categories longer than 255 characters
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63283 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -670,7 +670,7 @@ public class FilePlanServiceImpl extends ServiceBaseImpl
|
||||
return nodeService.createNode(
|
||||
parent,
|
||||
ContentModel.ASSOC_CONTAINS,
|
||||
QName.createQName(NamespaceService.CONTENT_MODEL_1_0_URI, name),
|
||||
QName.createQName(NamespaceService.CONTENT_MODEL_1_0_URI, (name.length() > QName.MAX_LENGTH ? name.substring(0, QName.MAX_LENGTH) : name)),
|
||||
type,
|
||||
props).getChildRef();
|
||||
}
|
||||
|
@@ -224,7 +224,7 @@ public class RecordFolderServiceImpl extends ServiceBaseImpl
|
||||
return nodeService.createNode(
|
||||
rmContainer,
|
||||
ContentModel.ASSOC_CONTAINS,
|
||||
QName.createQName(NamespaceService.CONTENT_MODEL_1_0_URI, name),
|
||||
QName.createQName(NamespaceService.CONTENT_MODEL_1_0_URI, (name.length() > QName.MAX_LENGTH ? name.substring(0, QName.MAX_LENGTH) : name)),
|
||||
type,
|
||||
props).getChildRef();
|
||||
}
|
||||
|
Reference in New Issue
Block a user