mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +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(
|
return nodeService.createNode(
|
||||||
parent,
|
parent,
|
||||||
ContentModel.ASSOC_CONTAINS,
|
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,
|
type,
|
||||||
props).getChildRef();
|
props).getChildRef();
|
||||||
}
|
}
|
||||||
|
@@ -224,7 +224,7 @@ public class RecordFolderServiceImpl extends ServiceBaseImpl
|
|||||||
return nodeService.createNode(
|
return nodeService.createNode(
|
||||||
rmContainer,
|
rmContainer,
|
||||||
ContentModel.ASSOC_CONTAINS,
|
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,
|
type,
|
||||||
props).getChildRef();
|
props).getChildRef();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user