mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)
59887: Merged V4.2-BUG-FIX (4.2.2) to HEAD-BUG-FIX (Cloud/4.3) 59643: Merged DEV to V4.2-BUG-FIX (4.2.2) 59235: MNT-10223 : CMIS: Created document has incorrect value on Properties tab Fixed the isLatestMajorVersion() implementation to return false if the version of the doc is minor. 59236: MNT-10223 : CMIS: Created document has incorrect value on Properties tab Added a test for the issue. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62205 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2005-2010 Alfresco Software Limited.
|
||||
* Copyright (C) 2005-2013 Alfresco Software Limited.
|
||||
*
|
||||
* This file is part of Alfresco
|
||||
*
|
||||
@@ -592,7 +592,9 @@ public class CMISNodeInfoImpl implements CMISNodeInfo
|
||||
isLatestMajorVersion = Boolean.FALSE;
|
||||
if (!isPWC())
|
||||
{
|
||||
if(isCurrentNode())
|
||||
// MNT-10223. It should not be a version and not a minor version
|
||||
Version version = getVersion();
|
||||
if (isCurrentNode() && version != null && version.getVersionType() == VersionType.MAJOR)
|
||||
{
|
||||
isLatestMajorVersion = Boolean.TRUE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user