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:
@@ -120,7 +120,7 @@ public class EditionServiceImpl implements EditionService
|
||||
// Version the container and its translations
|
||||
versionService.createVersion(mlContainerToVersion, versionProperties, true);
|
||||
|
||||
// 2. Third step: prepare the current edition of the mlContainer
|
||||
// 2. second step: prepare the current edition of the mlContainer
|
||||
|
||||
// Get the new starting point node, it will be returned
|
||||
NodeRef startNode;
|
||||
@@ -169,6 +169,7 @@ public class EditionServiceImpl implements EditionService
|
||||
// set the starting translation become the pivot.
|
||||
nodeService.setProperty(mlContainerToVersion, ContentModel.PROP_LOCALE, locale);
|
||||
nodeService.setProperty(mlContainerToVersion, ContentModel.PROP_AUTHOR, author);
|
||||
nodeService.setProperty(mlContainerToVersion, ContentModel.PROP_NAME, name);
|
||||
|
||||
// Done
|
||||
if (logger.isDebugEnabled())
|
||||
|
Reference in New Issue
Block a user