mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Merged V2.1 to HEAD
6383: ML contributions 6400: AR-1625 Empty translations track pivot translation git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6406 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -378,6 +378,11 @@ public class VersionServiceImpl extends AbstractVersionServiceImpl
|
||||
ContentModel.PROP_VERSION_LABEL,
|
||||
version.getVersionLabel());
|
||||
|
||||
// Freeze the version label property
|
||||
Map<QName, Serializable> versionLabelAsMap = new HashMap<QName, Serializable>(1);
|
||||
versionLabelAsMap.put(ContentModel.PROP_VERSION_LABEL, version.getVersionLabel());
|
||||
this.freezeProperties(newVersionRef, versionLabelAsMap);
|
||||
|
||||
// Invoke the policy behaviour
|
||||
invokeAfterCreateVersion(nodeRef, version);
|
||||
|
||||
|
Reference in New Issue
Block a user