mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Change to the way we apply 'versionable' aspect by default to uploaded documents. Aspect is still applied but "autoversion" and "create initial version" features are off by default. First version is instead explicitly created during checkout process.
Fix to apply 'versionable' aspect to documents that are being updated via the Share client but were initially uploaded via another route i.e. FTP or JSF Client. Minor fix to doclist json to handle documents that have 'versionable' aspect applied but do not have any version history. Code cleanup to ML document details. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10370 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -13,9 +13,9 @@ import org.alfresco.web.bean.repository.MapNode;
|
||||
*/
|
||||
public class SingleEditionBean implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 9145202732094403340L;
|
||||
private static final long serialVersionUID = 9145202732094403340L;
|
||||
|
||||
/** The edition in a list */
|
||||
/** The edition in a list */
|
||||
private List<MapNode> edition = null;
|
||||
|
||||
/** The translation list of the edition */
|
||||
@@ -61,13 +61,11 @@ public class SingleEditionBean implements Serializable
|
||||
*/
|
||||
public void addTranslations(MapNode translation)
|
||||
{
|
||||
if(this.translations == null)
|
||||
if (this.translations == null)
|
||||
{
|
||||
this.translations = new ArrayList<MapNode>();
|
||||
}
|
||||
|
||||
this.translations.add(translation);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
Reference in New Issue
Block a user